Skip to content

Commit 615afd1

Browse files
committed
Allow other resource overrides
1 parent 00194ec commit 615afd1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module ActiveModel
22
class Serializer
3-
VERSION = "0.5.1"
3+
VERSION = "0.5.2"
44
end
55
end

lib/active_model_serializers.rb

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Railtie < Rails::Railtie
1111
app ||= Rails.application # Rails 3.0.x does not yield `app`
1212

1313
Rails::Generators.configure!(app.config.generators)
14+
Rails::Generators.hidden_namespaces.uniq!
1415
require "generators/resource_override"
1516
end
1617

0 commit comments

Comments
 (0)