aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/blog_category.rb
Commit message (Collapse)AuthorAgeFilesLines
* default_scope :order => 'published_at DESC'Joe Sak2011-02-161-1/+1
| | | | move "next" to << self to use exclusive scope
* Closes GH-37. Move habtm assn to a has_many :through so posts can be ordered ↵Joe Sak2011-02-151-1/+2
| | | | by published_at DESC on category#show view
* Optimised post_count method. See gist for benchmarks - ↵Uģis Ozols2010-12-031-8/+1
| | | | https://gist.github.com/726844
* Rails 3 validation style.Uģis Ozols2010-12-031-2/+1
|
* Consistent whitespace.Philip Arndt2010-11-231-4/+4
|
* added publish date support. fixes bug where categories were showing posts ↵djones2010-09-211-1/+12
| | | | that were technically supposed to be hidden from the end user
* generate additional fields and specify relationships.Philip Arndt2010-08-091-0/+2
|
* Initial commit - you can create, edit and delete a blog post and it respects ↵Philip Arndt2010-08-091-0/+10
the fact that it is draft or not.