aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/blog_post.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rails 3.1 - wip.Uģis Ozols2011-07-271-114/+0
|
* categorization has_many :through should have an ID, and the relationship ↵Joe Sak2011-07-181-1/+1
| | | | should be destroyed if the blog post or category is
* readonly author just for safety's sakeJoe Sak2011-07-181-1/+1
|
* Added ability to disable teaser independent of teaser lengthJohan Bruning2011-07-041-0/+13
| | | | | | I prefer full length articles at all times on blogs and don't like teasers. I added the ability for people to disable teasers so full articles will be shown by default. The teasers can e enabled just like comments from the admin page or trough the normal settings. However not sure if the post partial now is conform standards. Maybe the helper method "blog_post_teaser" could encapsulate the check which is now done in the view and return the full length article instead of a teaser if the teasers are disabled.
* just remove this and it's fine, we won't have to remember to use it for ↵Joe Sak2011-06-301-2/+0
| | | | future attrs
* Allow custom_teaser field to be updated via forms.Kyle Wilkinson2011-06-211-1/+1
|
* Make blog_post custom_url field updatable.Kyle Wilkinson2011-06-161-1/+1
|
* Add logic to allow users to override the url for a post from just a title.Kyle Wilkinson2011-06-161-1/+5
|
* Make category_ids attribute accessible so that blog categories can be updated.Kyle Wilkinson2011-06-141-1/+1
|
* Merged remote branch 'keram/master'.Philip Arndt2011-05-311-2/+5
|\
| * For backwards compatibility must be approximate_ascii and strip_non_ascii by ↵Marek2011-05-191-2/+2
| | | | | | | | default false
| * Approximate ascii on blog slugs. For: GH-60Marek2011-05-191-1/+4
| |
* | Add page-like tab functionalityMichael Gall2011-05-311-0/+2
|/
* Edited app/models/blog_post.rb via GitHubJoe Sak2011-05-101-1/+1
|
* Added form fields for SEO and translations.Philip Arndt2011-05-061-1/+2
|
* Add is_seo_meta call to blog posts.Philip Arndt2011-05-051-9/+11
|
* Acts as taggable installedJoe Sak2011-03-111-0/+3
|
* Closes GH-44. Authors are now associated with blog posts by current_user ↵Joe Sak2011-02-241-1/+3
|\ | | | | | | | | | | | | Merge branch 'addingusers' Conflicts: app/models/blog_post.rb
| * Wrong syntax for AR associationJoe Sak2011-02-241-1/+1
| |
| * Blog Posts belong to an author ("user_id")Joe Sak2011-02-241-0/+2
| |
* | just a lil' reminderJoe Sak2011-02-241-1/+2
|/
* lambda is necessary to keep Time.now from becoming a constant, which allows ↵Joe Sak2011-02-161-3/+3
| | | | .uncategorized to use .live posts again
* This is probably just fasterJoe Sak2011-02-161-2/+2
|
* default_scope :order => 'published_at DESC'Joe Sak2011-02-161-9/+17
| | | | move "next" to << self to use exclusive scope
* Add class method to find uncategorized postsJoe Sak2011-02-161-1/+5
|
* Closes GH-37. Move habtm assn to a has_many :through so posts can be ordered ↵Joe Sak2011-02-151-1/+3
| | | | by published_at DESC on category#show view
* Archives group by year after 2 yearsJoe Sak2011-01-101-0/+4
|
* The blog nav should not grab next & previous drafts :)Joe Sak2010-12-151-2/+2
|
* Added some rspec tests for blog post model.Uģis Ozols2010-12-071-0/+1
|
* When we delete blog post it should delete associated comments too.Uģis Ozols2010-12-031-1/+1
|
* Rails 3 validation style.Uģis Ozols2010-12-031-2/+1
|
* Remove all Rails2/Rails3 checks as master is now Rails3 onlyAmanda Wagener2010-12-011-24/+7
|
* use string value for :scopingJ. Edward Dewyea2010-11-221-11/+11
|
* Added Next, Previous Article & Home navigationJoe Sak2010-11-201-8/+22
|
* Archive listing, views, helpersJoe Sak2010-11-181-0/+14
| | | | | | @page added to PostsController TODO: language file stuff -- I left comments in the view files where these belong. I don't know how to test them from here
* use published at in more placesdjones2010-09-211-1/+1
|
* added publish date support. fixes bug where categories were showing posts ↵djones2010-09-211-3/+7
| | | | that were technically supposed to be hidden from the end user
* added built in ShareThis.com supportdjones2010-09-141-0/+17
|
* Hello rails3 support.Philip Arndt2010-09-031-1/+5
|
* Comments are now moderated automatically unless moderation is enabled and ↵Philip Arndt2010-08-301-0/+8
| | | | show up below posts.
* Good, brackets aren't required here.Philip Arndt2010-08-261-1/+1
|
* Blog categories now save onto their posts.Philip Arndt2010-08-261-4/+2
|
* In theory categories should save correctly.Philip Arndt2010-08-251-0/+8
|
* generate additional fields and specify relationships.Philip Arndt2010-08-091-0/+3
|
* Initial commit - you can create, edit and delete a blog post and it respects ↵Philip Arndt2010-08-091-0/+14
the fact that it is draft or not.