From f5d94d60b8567313d0a6d92cfda631f6df32f3db Mon Sep 17 00:00:00 2001 From: greendog Date: Wed, 9 Nov 2011 22:01:53 +0400 Subject: added install migratons generator --- lib/generators/refinery/blog/blog_generator.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/generators') 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 -- cgit v1.2.3