I have a dump of some tables to be filled when the app is setup

'.../db/dataset/regions_dpt_cities_codes.sql'

I would like to execute a task similar to the  >mysql source
<dump_file>
like :
ActiveRecord::Base.connection.execute("source #{path};")     (which
doesn't run fine,  of course....

is it possible in a rake task ? if yes, any  suggestion ?

thanks for your suggestions

erwin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to