Skip to content

Commit

Permalink
minor comment for clarification
Browse files Browse the repository at this point in the history
Signed-off-by: shalott <shalott@gmail.com>
  • Loading branch information
shalott committed May 3, 2012
1 parent 32f7712 commit 9e686c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/work.rb
Expand Up @@ -18,7 +18,7 @@ class Work < ActiveRecord::Base
has_many :external_author_names, :through => :external_creatorships, :inverse_of => :works
has_many :external_authors, :through => :external_author_names, :uniq => true

has_many :chapters
has_many :chapters # we do NOT use dependent => destroy here because we want to destroy chapters in REVERSE order
validates_associated :chapters

has_many :serial_works, :dependent => :destroy
Expand Down

0 comments on commit 9e686c9

Please sign in to comment.