Class: CommentSubscriber
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- CommentSubscriber
- Defined in:
- lib/forge/app/models/comment_subscriber.rb
Instance Method Summary collapse
Instance Method Details
#list(object) ⇒ Object
9 10 11 |
# File 'lib/forge/app/models/comment_subscriber.rb', line 9 def list(object) self.where(:commentable_id => object.id, :commentable_type => object.class) end |