diff options
author | José Valim <jose.valim@gmail.com> | 2009-11-03 20:51:44 -0200 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-03 16:32:47 -0800 |
commit | 3fb548cac319207f369f348c5f27d165b65c2f85 (patch) | |
tree | 74897f2ec6c1dc788436c8df71e16c11798f1eea /railties | |
parent | e15b5eda2b4888764cd0c63a297136babac026d3 (diff) | |
download | rails-3fb548cac319207f369f348c5f27d165b65c2f85.tar.gz rails-3fb548cac319207f369f348c5f27d165b65c2f85.tar.bz2 rails-3fb548cac319207f369f348c5f27d165b65c2f85.zip |
Ensure ActiveRecord is loaded on revoke/destroy.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/active_record.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/active_record.rb b/railties/lib/rails/generators/active_record.rb index babad33db3..c62f75c384 100644 --- a/railties/lib/rails/generators/active_record.rb +++ b/railties/lib/rails/generators/active_record.rb @@ -1,6 +1,7 @@ require 'rails/generators/named_base' require 'rails/generators/migration' require 'rails/generators/active_model' +require 'active_record' module ActiveRecord module Generators |