Commit graph

31 commits

Author SHA1 Message Date
Cory Deppen
dd3002f8bb Fixed drop_table for Category. 2012-03-24 15:22:58 -03:00
Philip Arndt
594dd8ca96 Now supporting FriendlyId 4 2012-02-27 17:08:37 +13:00
Philip Arndt
aa729edc84 Merge pull request #202 from substantial/fix_seeds
Remove position setting from blog seed.
2012-02-22 23:38:07 -08:00
Pete Higgins
c37461cc43 Refinery::Page no longer has a position column. 2012-02-22 23:32:59 -08:00
Jeff Shumate
4f0b5f8223 add popularity counter to blog posts as well as accessor for recent posts 2012-02-22 20:37:08 -07:00
Uģis Ozols
34fd7b7b89 Move some of the Refinery::Setting's over to Refinery::Blog. 2012-02-04 21:22:51 +02:00
Uģis Ozols
e1d6605d23 .find(:all) -> .all 2012-02-02 12:55:50 +02:00
Jeff Shumate
e274bb1757 add source url for post 2012-01-25 22:27:46 -07:00
Pete Higgins
63b0bec5ff Make DB seed idempotent. 2012-01-08 13:52:44 -08:00
Shaun
d108f9c5df use new syntax for config accessors 2012-01-02 15:39:38 -08:00
Jamie Winsor
c0cecdaad9 Remove accidentally generated content from end of seed file 2011-11-14 13:03:12 -08:00
Philip Arndt
36c005ecd1 Refactored everything (models, helpers) into proper namespace of Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909 2011-11-09 22:19:07 +13:00
Jamie Winsor
b1baeba3d2 seo meta table migration removed
We should not generate the seo meta table here - it is handled by refinerycms if the user wants it
2011-10-28 13:05:32 -07:00
Jamie Winsor
2b73c292c8 Seed data should not be loaded mid migration
Column information is not totally generated and seed will be done at end of migration run
2011-10-27 18:38:48 -07:00
Jamie Winsor
5a958007c5 Update blog generator to use Rails 3.1 base
Seeds will now follow Rails 3.1 conventions
2011-10-27 18:12:32 -07:00
Jamie Winsor
21b19db5a3 refactor engine testing scenario
Engine is now tested standalone by leveraging a dummy rails app
Enable Guard for speedy testing
Move factories to the more standard location `spec/factories/*`
Update README with a Testing section
Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application
2011-08-03 18:01:32 -07:00
Uģis Ozols
3fa8937b95 Rails 3.1 - wip. 2011-07-27 13:46:24 +03:00
Joe Sak
5d493b154c maybe do this through a migration? 2011-07-18 15:24:30 -05:00
Joe Sak
b78486ce1e categorization has_many :through should have an ID, and the relationship should be destroyed if the blog post or category is 2011-07-18 14:56:51 -05:00
Kyle Wilkinson
70e8d3c49c Add migration to create a new field on BlogPosts for custom teasers. 2011-06-21 02:09:16 -07:00
Philip Arndt
bce2877b2a Fixed migration numbering, regenerated gemspec. 2011-06-21 13:43:22 +12:00
Kyle Wilkinson
07a1a81b95 Add migration to add custom_url field to BlogPost. 2011-06-16 22:52:11 -07:00
Joe Sak
434ad6535e cached slugs speed things up 2011-06-14 13:53:22 -05:00
Philip Arndt
1ae97bb9b1 Depend on seo_meta and create a migration for it unless it already exists. 2011-05-05 23:44:05 +12:00
Philip Arndt
03e105b9e0 Ensure that the seeds don't blow up when either 'User' or 'Page' are not defined. 2011-04-27 22:17:30 -07:00
Nate Bird
c583f930e8 Fixed for failed migration when installing refinery_cms_blog. Also makes it consistent with generated engine format. 2011-03-25 08:18:57 -07:00
Joe Sak
ac7a6f6636 Acts as taggable installed 2011-03-11 12:58:58 -06:00
Philip Arndt
a058a24e90 Renamed seed and blog structure migration, removed name option from generator, regenerated gemspec. 2011-03-04 12:25:18 +13:00
Philip Arndt
7ac190f9dd Moved the generic blog tables code into the migration itself. 2011-03-04 11:56:38 +13:00
Philip Arndt
5a59510eed Renamed migrations with ordering migration numbers. 2011-03-04 11:54:46 +13:00
Philip Arndt
234a7d74d5 Moved most of the code toward EngineInstaller. 2011-03-04 11:54:12 +13:00