Sha256: d5e7b89cd9e10df665f473de9cdbd33faa3240a970e0fa710abd687ef58fdd87
Contents?: true
Size: 259 Bytes
Versions: 2
Compression:
Stored size: 259 Bytes
Contents
class CreateUsersUsingBlockAndUsing < ActiveRecord::Migration using(:brazil) def self.up using(:canada) do User.create!(:name => "Canada") end User.create!(:name => "Brazil") end def self.down User.delete_all() end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ar-octopus-0.0.25 | spec/migrations/13_create_users_using_block_and_using.rb |
ar-octopus-0.0.24 | spec/migrations/13_create_users_using_block_and_using.rb |