aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/refinery/blog/post.rb
Commit message (Collapse)AuthorAgeFilesLines
* Tell friendly_id to regenerate slug if title has changed.Uģis Ozols2014-02-031-0/+6
| | | | | This is due to change in friendly_id 5.0.x where it doesn’t regenerate slug when record is updated.
* Use strong parameters.Uģis Ozols2014-01-271-18/+5
|
* Merge branch 'master' into rails4Uģis Ozols2014-01-201-0/+5
|\ | | | | | | | | | | Conflicts: app/helpers/refinery/blog/controller_helper.rb app/models/refinery/blog/post.rb
| * Apply core globalize fix 2450. Fixes #361.Ken Ip2013-12-081-1/+4
| |
* | Supported Rails 4 and Refinery 3.0.0.devPhilip Arndt2013-09-161-25/+26
|/
* Use select and map instead of pluck to make JRuby happy.Uģis Ozols2013-08-121-1/+1
|
* Use refinerycms-acts-as-indexed for search functionality.Uģis Ozols2013-08-071-2/+0
| | | | | Also simplify index views for posts, categories and comments by removing redundant code.
* Committing user_class to masterJonathan Seitel2013-01-311-1/+1
|
* Move Refinery::Categorization to Refinery::Blog namespace [Fixes #282]Edgars Beigarts2012-12-101-1/+1
|
* Update seo_meta to 1.4.0; removes meta_keywordsPhilip Arndt2012-11-291-2/+2
|
* Modify to reorder (and so ignore default scope) when using Post.next s.t. ↵Tom Russell2012-11-231-1/+1
| | | | | | the correct 'next' post is selected. Fixes #302
* Merge remote-tracking branch 'jerefrer/master'Philip Arndt2012-11-231-0/+6
|\
| * Fixes bug with SEO fields translationJérémy FRERE2012-11-151-0/+6
| |
* | Fix bugs with globalize, published_before and clean codeMarek Labos2012-11-231-5/+5
|/ | | | Fixes #276
* added presence validation for published_at and authorMarek Labos2012-08-201-0/+1
|
* Fix failing specs.Uģis Ozols2012-06-151-1/+1
|
* Added i18n support to models through globalize3.Adrien Coquio2012-06-091-12/+44
| | | | | | | | | | | | | | * Added Post translation * Added Category translation * Use friendly_id globalize with category * Added migrate_data option on migrations for translations * Use Refinery locale instead of I18n * Refactored duplicate locale_picker partial * Removed useless .all call * Use presence instead if / blank? * Added with_globalize scopes when loading posts of one category * Use Globalize when creating post factory * Fix failing specs by creating blog posts/categories using needed locale.
* Merge pull request #237 from GeekOnCoffee/eliminate_ternaryPhilip Arndt2012-05-191-1/+1
|\ | | | | Eliminate Ternary
| * Eliminate TernaryAndrew Hooker2012-05-191-1/+1
| |
* | Adding Deprecation VersionAndrew Hooker2012-05-191-1/+1
| |
* | Using Standard Refinery Deprecation MethodAndrew Hooker2012-05-191-1/+1
| |
* | Renaming Method to better describe use, Including Deprecation Warning on Old ↵Andrew Hooker2012-05-191-2/+7
|/ | | | Method
* Now supporting FriendlyId 4Philip Arndt2012-02-271-5/+2
|
* Don't need to specify class names here.Pete Higgins2012-02-231-1/+1
|
* Cleanup next and previous stuff.Pete Higgins2012-02-231-7/+4
|
* Remove functionality provided by rails.Pete Higgins2012-02-231-6/+0
|
* DRY some Refinery::Blog::Post methods.Pete Higgins2012-02-231-7/+8
|
* Change a .map to a .pluck.Pete Higgins2012-02-221-1/+1
|
* Merge pull request #195 from substantial/refactor_archive_widgetPhilip Arndt2012-02-221-6/+6
|\ | | | | Refactor archive widget
| * Refactor .by_archive and .by_year.Pete Higgins2012-02-101-4/+4
| |
| * Refactor all_previous into published_dates_older_than.Pete Higgins2012-02-101-2/+2
| |
* | cleanupJeff Shumate2012-02-221-1/+1
| |
* | add popularity counter to blog posts as well as accessor for recent postsJeff Shumate2012-02-221-0/+8
|/
* Move some of the Refinery::Setting's over to Refinery::Blog.Uģis Ozols2012-02-041-16/+7
|
* Converted scopes to class methods.Philip Arndt2012-02-031-19/+25
|
* Merge pull request #187 from substantial/rails-3-2-compatPhilip Arndt2012-01-281-2/+2
|\ | | | | Rails 3 2 compat
| * attr_accessible :author for Post model.Pete Higgins2012-01-261-2/+2
| |
* | add source url for postJeff Shumate2012-01-251-0/+7
|/
* Refactored everything (models, helpers) into proper namespace of ↵Philip Arndt2011-11-091-0/+114
Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909