Created
February 10, 2013 18:31
-
-
Save iHiD/4750524 to your computer and use it in GitHub Desktop.
When the hard work pays off... A complex model, fully integrated into Meducation with basically no thought. Meducation is so easy now-a-days! :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BlogPost < ActiveRecord::Base | |
can_generate_reputation | |
has_comments | |
has_views | |
has_votes | |
has_news_feed_item | |
is_a_contribution | |
is_a_resource | |
is_cacheable | |
has_markdown | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cool! Short & Easy :-)