Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
DAddYE committed Sep 6, 2011
1 parent dd648b0 commit 9bd15ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Person < ActiveRecord::Base
end
belongs_to :address
end
Person.auto_upgrade!

# you can use also this way
class Address < ActiveRecord::Base
Expand All @@ -63,6 +64,7 @@ class Address < ActiveRecord::Base
has_many :people
end

Address.auto_upgrade!
```

Once you bootstrap your **app**, missing columns and tables will be created on the fly.
Expand Down

0 comments on commit 9bd15ec

Please sign in to comment.