added install migratons generator

This commit is contained in:
greendog 2011-11-09 22:01:53 +04:00
parent 36c005ecd1
commit f5d94d60b8

View file

@ -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