lib/action_controller/serialization.rb in cheap_ams-0.10.5 vs lib/action_controller/serialization.rb in cheap_ams-0.10.6

- old
+ new

@@ -15,11 +15,11 @@ send(_serialization_scope) if _serialization_scope && respond_to?(_serialization_scope, true) end def get_serializer(resource, options = {}) - if ! use_adapter? - warn "ActionController::Serialization#use_adapter? has been removed. "\ + if !use_adapter? + warn 'ActionController::Serialization#use_adapter? has been removed. '\ "Please pass 'adapter: false' or see ActiveSupport::SerializableResource#serialize" options[:adapter] = false end ActiveModel::SerializableResource.serialize(resource, options) do |serializable_resource| if serializable_resource.serializer?