method

config_when_updating

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: Rails::AppBuilder
config_when_updating() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 89
    def config_when_updating
      cookie_serializer_config_exist = File.exist?('config/initializers/cookies_serializer.rb')

      config

      unless cookie_serializer_config_exist
        gsub_file 'config/initializers/cookies_serializer.rb', /json/, 'marshal'
      end
    end
Register or log in to add new notes.