Sha256: 72f5c8e13e64230582351b2cfeabc6188a0e7252ebf4b014c0450a321634868a
Contents?: true
Size: 618 Bytes
Versions: 5
Compression:
Stored size: 618 Bytes
Contents
module ActiveModelSerializers module_function def silence_warnings verbose = $VERBOSE $VERBOSE = nil yield ensure $VERBOSE = verbose end end require 'active_model' require 'action_controller' require 'active_model/serializer' require 'active_model/serializable_resource' require 'active_model/serializer/version' require 'action_controller/serialization' ActiveSupport.on_load(:action_controller) do include ::ActionController::Serialization ActionDispatch::Reloader.to_prepare do ActiveModel::Serializer.serializers_cache.clear end end require 'active_model/serializer/railtie'
Version data entries
5 entries across 5 versions & 1 rubygems