aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/configuration.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Extract Railtie load from application.José Valim2010-01-231-0/+2
|
* Extract routes reloading responsibilities from application and load them ↵José Valim2010-01-231-4/+1
| | | | just upon a request.
* Ensure user set load paths have higher preference and move Bootstrap inside ↵José Valim2010-01-231-2/+1
| | | | Application.
* Get rid of initializers global and create i18n railtie.José Valim2010-01-231-159/+126
|
* Moved more configuration away from bootstrap.José Valim2010-01-221-3/+1
|
* Got tests working once again.José Valim2010-01-221-11/+17
|
* Add view paths to Engine setup.José Valim2010-01-221-20/+16
|
* Massive cleanup in Railties and load stack.José Valim2010-01-211-104/+129
|
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-211-5/+2
| | | | anything in the middleware stack.
* Default to sync instrumentation.José Valim2010-01-211-6/+6
|
* Tidy up new filter_parameters implementation.José Valim2010-01-211-1/+1
|