aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/configuration.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Railties] require => require_relativeAkira Matsuda2017-07-011-2/+2
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-5/+5
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Engines get different middleware than appsAaron Patterson2015-09-291-3/+16
| | | | | We shouldn't merge the app middleware in to the config middleware for engines.
* Add api_only option to GeneratorsSantiago Pastorino2015-06-111-1/+2
|
* Do not mutate the operations arrayRafael Mendonça França2015-02-191-1/+1
|
* Allow Rack::Runtime to be deleted from middleware stack.Guo Xiang Tan2015-02-191-2/+4
| | | | Fixes: https://github.com/rails/rails/issues/16433.
* Replace ActionDispatch::Head with Rack::Head.yui-knk2014-11-241-2/+2
|
* Expose MiddlewareStack#unshift to environment configuration.Ben Pickles2013-10-091-0/+4
|
* Removed unused deprecation requires.Paul Nikitochkin2013-07-031-1/+0
|
* Remove BestStandardsSupport middlewareGuillermo Iguaran2013-01-291-2/+2
|
* using __method__ for the command method callsAaron Patterson2012-05-211-5/+5
|
* Remove obsolete deep_dup requiresPiotr Sarnacki2012-05-061-2/+0
|
* Nice logic for deep_dup in railsAlexey Gaziev2012-05-061-0/+2
|
* Use <tt>Foo::Bar</tt> instead of +Foo::Bar+Mark Rushakof2012-04-271-1/+1
| | | | | | | | The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+)
* Remove remaining http_only? calls.José Valim2012-03-141-10/+0
|
* Remove --http.José Valim2012-03-141-20/+0
|
* Generate special controller and functional test templates for http appsCarlos Antonio da Silva2012-03-141-1/+0
| | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino]
* Refactor http_only, remove reader methodCarlos Antonio da Silva2012-03-141-14/+19
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Create generators http_only! setup and hide some common namespaces for nowCarlos Antonio da Silva2012-03-141-3/+11
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Change api_only to http_onlyCarlos Antonio da Silva2012-03-101-6/+6
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Add some docs for MiddlewareStackProxy methods and api_only!Carlos Antonio da Silva2012-03-101-2/+39
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Add config.middleware.api_only!Carlos Antonio da Silva and Santiago Pastorino2012-03-051-0/+8
|
* Update generator config to support hiding namespaces and pass the app into ↵wycats2011-05-241-0/+6
| | | | generator blocks
* Make deep copy of application generators on engine initialization.Piotr Sarnacki2010-11-021-0/+8
| | | | | Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes.
* Removed most of deprecated stuff from Application and EnginePiotr Sarnacki2010-09-031-81/+0
|
* Make config.generators accept string namespaces, you can do now ↵Santiago Pastorino2010-07-211-0/+1
| | | | | | config.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <jose.valim@gmail.com>
* We are doing the same in this conditionsSantiago Pastorino2010-07-211-3/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add delete to middleware stack proxy.José Valim2010-06-071-0/+4
|
* Move AD::Cascade to the bottom of the middleware stack.José Valim2010-05-161-0/+31
|
* Add missing deprecation requiresJeremy Kemper2010-04-291-0/+1
|
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-051-0/+12
| | | | configuration in request.env. This is another step forward removing global configuration.
* No need for a module if it's only being included once into an empty class.Carl Lerche2010-03-041-94/+0
|
* Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-031-1/+1
|
* Move remote_ip to a middleware:Carlhuda2010-03-031-2/+3
| | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies
* Don't rely on Rails.application global state in ConfigCarlhuda2010-03-031-6/+10
|
* Fix unstated usage of Action DispatchJeremy Kemper2010-03-011-16/+21
|
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-0/+1
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* Add config.generators.templates to provide alternative paths for template ↵José Valim2010-02-061-1/+2
| | | | lookup.
* Deprecate AC configuration values which were moved to Rack.José Valim2010-02-011-2/+2
|
* Add config.generators.fallbacks.José Valim2010-02-011-1/+2
|
* Improve railtie deprecation messages.José Valim2010-01-301-10/+10
|
* Add config.to_prepare back and add tests for it.José Valim2010-01-281-0/+8
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Refactor MetalLoader and RoutesReloader to rely less on class configuration.José Valim2010-01-281-1/+1
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Fix the test_framework generator testsCarl Lerche2010-01-281-0/+2
|
* Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵José Valim2010-01-261-1/+1
| | | | any metal was declared.
* Ensure metals and initializers in plugins are loaded.José Valim2010-01-241-1/+1
|
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Move configuration to subfolders.José Valim2010-01-231-212/+80
|
* Plugin is now an Engine.José Valim2010-01-231-8/+7
|