Permalink
Browse files

Fix migration generation

  • Loading branch information...
1 parent 7ca1f91 commit a545051f41976e550967375a72148d3a29065789 @raggi committed May 31, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/openid_active_record_store.rb
@@ -7,7 +7,10 @@ class Engine < Rails::Engine
end
class Railtie < Rails::Railtie
rake_tasks do
- include ActiveRecord::Generators::Migration
+ require 'rails/generators/migration'
+ include Rails::Generators::Migration
+ require 'rails/generators/active_record'
+ extend ActiveRecord::Generators::Migration
namespace :openid_active_record_store do
namespace :install do

0 comments on commit a545051

Please sign in to comment.