diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-11-09 10:32:00 -0800 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-11-09 10:32:00 -0800 |
commit | 81475ff3809d83e46ff28f39523abfc5cb1635a4 (patch) | |
tree | a5403006c9ee7c2e19f745adef3baf0600b3d3bc | |
parent | 36c005ecd112b76d3c9c2d7092f22d6e06755d73 (diff) | |
parent | f5d94d60b8567313d0a6d92cfda631f6df32f3db (diff) | |
download | refinerycms-blog-81475ff3809d83e46ff28f39523abfc5cb1635a4.tar.gz refinerycms-blog-81475ff3809d83e46ff28f39523abfc5cb1635a4.tar.bz2 refinerycms-blog-81475ff3809d83e46ff28f39523abfc5cb1635a4.zip |
Merge pull request #147 from greendog/rails-3-1
Generator for installing migrations
-rw-r--r-- | lib/generators/refinery/blog/blog_generator.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/generators/refinery/blog/blog_generator.rb b/lib/generators/refinery/blog/blog_generator.rb index 34f6cd2..a7d49a3 100644 --- a/lib/generators/refinery/blog/blog_generator.rb +++ b/lib/generators/refinery/blog/blog_generator.rb @@ -1,5 +1,10 @@ module Refinery class BlogGenerator < Rails::Generators::Base + + def rake_db + rake("refinery_blog:install:migrations") + end + source_root File.expand_path('../templates', __FILE__) def append_load_seed_data |