Displaying 1 result from an estimated 1 matches for "9dfe1d2b".
Did you mean:
9df512b
2006 May 09
3
"ActiveRecord::Base.connection.execute" nubee problem
Is there any way of executing a full sql script, and not just one
statement?
You can do this:
ActiveRecord::Base.connection.execute("insert into batches (name) values
''name''")
but not this:
ActiveRecord::Base.connection.execute("insert into batches (name) values
''name''; "insert into batches (name) values