Revision: 24044
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 19, 2010 10:42 by almazom
Initial Code
sql = ActiveRecord::Base.connection(); sql.execute("PRAGMA synchronous = OFF") sql.execute("BEGIN") sqlrequest = "INSERT INTO `products` VALUES(null,'"+title+"','"+cat1+"','"+cat2+"','"+ye+"','"+price+"');" sql.execute(sqlrequest) sql.execute("COMMIT") sql.execute("PRAGMA synchronous = NORMAL")
Initial URL
Initial Description
Initial Title
Rails fast sqlite3 data filling
Initial Tags
rails
Initial Language
Rails