Merge pull request #147 from greendog/rails-3-1
Generator for installing migrations
This commit is contained in:
commit
81475ff380
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue