Sha256: 8952e85eea7d6cfa86527bc2d46d0dcb2371deba1fe457a0416537a38ce57756

Contents?: true

Size: 325 Bytes

Versions: 5

Compression:

Stored size: 325 Bytes

Contents

Rails.application.config.filter_parameters += [:password]
Rails.application.config.session_store :cookie_store, :key => '_dummy_session'
Rails.application.config.action_dispatch.cookies_serializer = :json

ActiveSupport.on_load(:action_controller) do
  wrap_parameters :format => [:json] if respond_to?(:wrap_parameters)
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
attached-1.0.4 test/dummy/config/initializers/other.rb
attached-1.0.3 test/dummy/config/initializers/other.rb
formula-1.0.1 test/dummy/config/initializers/other.rb
attached-1.0.2 test/dummy/config/initializers/other.rb
attached-1.0.1 test/dummy/config/initializers/other.rb