populator
populator copied to clipboard
Mass populate an Active Record database.
Hello, As soon as I attach Populator (which should be compatible with Rails3, shouldn't it?), I get the following error: undefined method `execute' for class`ActiveRecord::ConnectionAdapters::OracleAdapter' I use sqlite
Currently there is no way to populate has_and_belongs_to_many because there is no model set apart for the join table. There should be additional methods one can call on either side...
Sometimes it's not applicable to do a loop because it is limited in how the nesting works. Instead one should be able to build up an array of hashes and...