Class: Monologue::Tag
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Monologue::Tag
- Defined in:
- app/models/monologue/tag.rb
Instance Method Summary collapse
Instance Method Details
#frequency ⇒ Object
10 11 12 |
# File 'app/models/monologue/tag.rb', line 10 def frequency posts_with_tag.size end |
#posts_with_tag ⇒ Object
6 7 8 |
# File 'app/models/monologue/tag.rb', line 6 def posts_with_tag self.posts.published end |