Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -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 apps | Aaron Patterson | 2015-09-29 | 1 | -3/+16 |
| | | | | | We shouldn't merge the app middleware in to the config middleware for engines. | ||||
* | Add api_only option to Generators | Santiago Pastorino | 2015-06-11 | 1 | -1/+2 |
| | |||||
* | Do not mutate the operations array | Rafael Mendonça França | 2015-02-19 | 1 | -1/+1 |
| | |||||
* | Allow Rack::Runtime to be deleted from middleware stack. | Guo Xiang Tan | 2015-02-19 | 1 | -2/+4 |
| | | | | Fixes: https://github.com/rails/rails/issues/16433. | ||||
* | Replace ActionDispatch::Head with Rack::Head. | yui-knk | 2014-11-24 | 1 | -2/+2 |
| | |||||
* | Expose MiddlewareStack#unshift to environment configuration. | Ben Pickles | 2013-10-09 | 1 | -0/+4 |
| | |||||
* | Removed unused deprecation requires. | Paul Nikitochkin | 2013-07-03 | 1 | -1/+0 |
| | |||||
* | Remove BestStandardsSupport middleware | Guillermo Iguaran | 2013-01-29 | 1 | -2/+2 |
| | |||||
* | using __method__ for the command method calls | Aaron Patterson | 2012-05-21 | 1 | -5/+5 |
| | |||||
* | Remove obsolete deep_dup requires | Piotr Sarnacki | 2012-05-06 | 1 | -2/+0 |
| | |||||
* | Nice logic for deep_dup in rails | Alexey Gaziev | 2012-05-06 | 1 | -0/+2 |
| | |||||
* | Use <tt>Foo::Bar</tt> instead of +Foo::Bar+ | Mark Rushakof | 2012-04-27 | 1 | -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é Valim | 2012-03-14 | 1 | -10/+0 |
| | |||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -20/+0 |
| | |||||
* | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 1 | -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 method | Carlos Antonio da Silva | 2012-03-14 | 1 | -14/+19 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Create generators http_only! setup and hide some common namespaces for now | Carlos Antonio da Silva | 2012-03-14 | 1 | -3/+11 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 1 | -6/+6 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add some docs for MiddlewareStackProxy methods and api_only! | Carlos Antonio da Silva | 2012-03-10 | 1 | -2/+39 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 1 | -0/+8 |
| | |||||
* | Update generator config to support hiding namespaces and pass the app into ↵ | wycats | 2011-05-24 | 1 | -0/+6 |
| | | | | generator blocks | ||||
* | Make deep copy of application generators on engine initialization. | Piotr Sarnacki | 2010-11-02 | 1 | -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 Engine | Piotr Sarnacki | 2010-09-03 | 1 | -81/+0 |
| | |||||
* | Make config.generators accept string namespaces, you can do now ↵ | Santiago Pastorino | 2010-07-21 | 1 | -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 conditions | Santiago Pastorino | 2010-07-21 | 1 | -3/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add delete to middleware stack proxy. | José Valim | 2010-06-07 | 1 | -0/+4 |
| | |||||
* | Move AD::Cascade to the bottom of the middleware stack. | José Valim | 2010-05-16 | 1 | -0/+31 |
| | |||||
* | Add missing deprecation requires | Jeremy Kemper | 2010-04-29 | 1 | -0/+1 |
| | |||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 1 | -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 Lerche | 2010-03-04 | 1 | -94/+0 |
| | |||||
* | Fix all the broken tests due to the AC configuration refactor | Carl Lerche | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Move remote_ip to a middleware: | Carlhuda | 2010-03-03 | 1 | -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 Config | Carlhuda | 2010-03-03 | 1 | -6/+10 |
| | |||||
* | Fix unstated usage of Action Dispatch | Jeremy Kemper | 2010-03-01 | 1 | -16/+21 |
| | |||||
* | Makes send_file work again by deferring to Rack::Sendfile. | Carlhuda | 2010-02-23 | 1 | -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é Valim | 2010-02-06 | 1 | -1/+2 |
| | | | | lookup. | ||||
* | Deprecate AC configuration values which were moved to Rack. | José Valim | 2010-02-01 | 1 | -2/+2 |
| | |||||
* | Add config.generators.fallbacks. | José Valim | 2010-02-01 | 1 | -1/+2 |
| | |||||
* | Improve railtie deprecation messages. | José Valim | 2010-01-30 | 1 | -10/+10 |
| | |||||
* | Add config.to_prepare back and add tests for it. | José Valim | 2010-01-28 | 1 | -0/+8 |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Refactor MetalLoader and RoutesReloader to rely less on class configuration. | José Valim | 2010-01-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Fix the test_framework generator tests | Carl Lerche | 2010-01-28 | 1 | -0/+2 |
| | |||||
* | Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵ | José Valim | 2010-01-26 | 1 | -1/+1 |
| | | | | any metal was declared. | ||||
* | Ensure metals and initializers in plugins are loaded. | José Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Rename plugin_name to railtie_name and engine_name. | José Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Move configuration to subfolders. | José Valim | 2010-01-23 | 1 | -212/+80 |
| | |||||
* | Plugin is now an Engine. | José Valim | 2010-01-23 | 1 | -8/+7 |
| | |||||
* | Extract Railtie load from application. | José Valim | 2010-01-23 | 1 | -0/+2 |
| | |||||
* | Extract routes reloading responsibilities from application and load them ↵ | José Valim | 2010-01-23 | 1 | -4/+1 |
| | | | | just upon a request. |