diff options
author | Xavier Noria <fxn@hashref.com> | 2010-03-28 14:15:02 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-03-28 14:15:02 +0200 |
commit | 76f024ac8db82490a99c71d0d8951d677e3bc9bc (patch) | |
tree | 4fda85acd8a48e5a678c55cb894005fa1226ad54 /railties/lib/rails | |
parent | 105f9b8154bbee88b45e0bb9de949206cbc1ba02 (diff) | |
download | rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.tar.gz rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.tar.bz2 rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.zip |
adds missing requires for Object#blank? and Object#present?
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/resource/resource_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/resource/resource_generator.rb b/railties/lib/rails/generators/rails/resource/resource_generator.rb index 1e78945a7e..8a46708009 100644 --- a/railties/lib/rails/generators/rails/resource/resource_generator.rb +++ b/railties/lib/rails/generators/rails/resource/resource_generator.rb @@ -1,5 +1,6 @@ require 'rails/generators/resource_helpers' require 'rails/generators/rails/model/model_generator' +require 'active_support/core_ext/object/blank' module Rails module Generators |