One option would be to use raw SQL statements in your migration, like this:

def self.up
        execute "INSERT INTO authors_books VALUES (1,1)"
end

def self.down
        execute "TRUNCATE authors_books"
end

-- Patrick


_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to