mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Fix to_prepare warning
This commit is contained in:
@@ -12,6 +12,10 @@ module ActiveModel
|
||||
include app.routes.url_helpers
|
||||
end
|
||||
end
|
||||
|
||||
config.to_prepare do
|
||||
ActiveModel::Serializer.serializers_cache.clear
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user