vendor/rails/activerecord/test/models/club.rb in radiant-0.7.2 vs vendor/rails/activerecord/test/models/club.rb in radiant-0.8.0
- old
+ new
@@ -2,6 +2,12 @@
has_many :memberships
has_many :members, :through => :memberships
has_many :current_memberships
has_one :sponsor
has_one :sponsored_member, :through => :sponsor, :source => :sponsorable, :source_type => "Member"
+
+ private
+
+ def private_method
+ "I'm sorry sir, this is a *private* club, not a *pirate* club"
+ end
end
\ No newline at end of file