aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-11-09 10:32:00 -0800
committerUģis Ozols <ugis.ozolss@gmail.com>2011-11-09 10:32:00 -0800
commit81475ff3809d83e46ff28f39523abfc5cb1635a4 (patch)
treea5403006c9ee7c2e19f745adef3baf0600b3d3bc
parent36c005ecd112b76d3c9c2d7092f22d6e06755d73 (diff)
parentf5d94d60b8567313d0a6d92cfda631f6df32f3db (diff)
downloadrefinerycms-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.rb5
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