Allow other resource overrides

This commit is contained in:
Yehuda Katz 2012-06-05 23:08:01 +02:00
parent 00194ec0e4
commit 615afd125c
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
module ActiveModel module ActiveModel
class Serializer class Serializer
VERSION = "0.5.1" VERSION = "0.5.2"
end end
end end

View File

@ -11,6 +11,7 @@ if defined?(Rails)
app ||= Rails.application # Rails 3.0.x does not yield `app` app ||= Rails.application # Rails 3.0.x does not yield `app`
Rails::Generators.configure!(app.config.generators) Rails::Generators.configure!(app.config.generators)
Rails::Generators.hidden_namespaces.uniq!
require "generators/resource_override" require "generators/resource_override"
end end