Skip to content

Commit

Permalink
Added explanatory note for model declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartl committed Oct 16, 2008
1 parent 38f9349 commit faa79d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/migrate/005_create_forums.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class CreateForums < ActiveRecord::Migration

# Declare the Forum model here so that the code below works even if you
# change app/models/forum.rb by (say) adding validations.
class Forum < ActiveRecord::Base
end

Expand Down

0 comments on commit faa79d7

Please sign in to comment.