Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure nested singular resources get the correct name | Jan De Poorter | 2010-03-07 | 1 | -1/+4 |
| | | | | | | [#3911 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 12 | -17/+32 |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | Adds disable option to date_helpers generated hidden fields when ↵ | Santiago Pastorino | 2010-03-05 | 1 | -1/+2 |
| | | | | | | | | html_options specifies it. ht by Marc Schütz [#3807 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Tweak default_url_options deprecation warning | Jeremy Kemper | 2010-03-05 | 1 | -2/+2 |
| | |||||
* | Solved a problem that prevented render :file => work in layouts | Jose Fernandez | 2010-03-05 | 1 | -1/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Remove some of the blank rescues from number helper. This makes the code ↵ | Xavier Shay | 2010-03-05 | 1 | -44/+42 |
| | | | | | | easier to understand, as you're not left wondering what the rescue is actually doing. This does not change documented/tested behaviour. Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Actually, revert previous commit. Having a lot of information is better than ↵ | José Valim | 2010-03-05 | 1 | -9/+3 |
| | | | | having no information at all. | ||||
* | Define to_s method in ActionView::Resolver, so I'm not required to write it ↵ | José Valim | 2010-03-05 | 1 | -1/+5 |
| | | | | in inherited classes. | ||||
* | Remove the ability to set the mountpoint when initializing a route set. | Carl Lerche | 2010-03-04 | 1 | -4/+3 |
| | |||||
* | Tweak out url_for uses :script_name and add some tests | Carl Lerche | 2010-03-04 | 5 | -24/+13 |
| | |||||
* | Have ActionDispatch::Routing::RouteSet.new ready to receive routes as is. | Carl Lerche | 2010-03-04 | 1 | -0/+1 |
| | |||||
* | Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵ | Carlhuda | 2010-03-04 | 5 | -4/+17 |
| | | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request. | ||||
* | Use AS::Concern for caching modules | Carlhuda | 2010-03-04 | 3 | -27/+24 |
| | |||||
* | Refactor cache_store to use ActionController config | Carlhuda | 2010-03-04 | 2 | -21/+18 |
| | |||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 6 | -46/+23 |
| | | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings. | ||||
* | Move stuff from compatibility.rb to deprecated.rb | Carlhuda | 2010-03-04 | 3 | -126/+125 |
| | |||||
* | Move session and session_store onto ActionDispatch and add deprecation warnings | Carlhuda | 2010-03-04 | 4 | -22/+41 |
| | |||||
* | Fix a bunch of failing AP / AM specs created from the previous ↵ | Carl Lerche | 2010-03-04 | 1 | -1/+1 |
| | | | | AbstractController configuration refactor. | ||||
* | Add a method for configuring abstract controllers | Carl Lerche | 2010-03-04 | 1 | -0/+4 |
| | |||||
* | Modifying configurations on the instance of a controller should not affect ↵ | Carl Lerche | 2010-03-03 | 1 | -1/+1 |
| | | | | the class | ||||
* | Tweak how ActionPack handles InheritableOptions | Carl Lerche | 2010-03-03 | 3 | -2/+3 |
| | |||||
* | Fix all the broken tests due to the AC configuration refactor | Carl Lerche | 2010-03-03 | 3 | -9/+19 |
| | |||||
* | Move the original config method onto AbstractController | Carl Lerche | 2010-03-03 | 2 | -8/+8 |
| | |||||
* | Start refactoring the method of configuring ActionView | Carlhuda | 2010-03-03 | 4 | -17/+20 |
| | |||||
* | Add caller to deprecation notices | Carlhuda | 2010-03-03 | 1 | -11/+11 |
| | |||||
* | Deprecate IP spoofing settings that are directly on the controller in favor ↵ | Carlhuda | 2010-03-03 | 1 | -7/+26 |
| | | | | of configuring a middleware | ||||
* | Add caller to request_uri deprecation notice | Carlhuda | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Move remote_ip to a middleware: | Carlhuda | 2010-03-03 | 5 | -56/+54 |
| | | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies | ||||
* | Add a BlockUntrustedIps middleware | Carl Lerche | 2010-03-03 | 2 | -0/+26 |
| | |||||
* | Indicate that ActionController::Base.resource_action_separator is deprecated ↵ | Carl Lerche | 2010-03-03 | 1 | -2/+9 |
| | | | | and only has an effect with the deprecated router DSL. | ||||
* | ActionController::Base.use_accept_header is not actually used anymore, so ↵ | Carl Lerche | 2010-03-03 | 1 | -2/+8 |
| | | | | let's deprecate it. | ||||
* | ActionDispatch::Request deprecates #request_uri | Carl Lerche | 2010-03-03 | 4 | -13/+6 |
| | | | | * Refactored ActionPatch to use fullpath instead | ||||
* | Rack::Request actually defines #query_string | Carl Lerche | 2010-03-03 | 1 | -5/+0 |
| | |||||
* | Tweak the semantic of various URL related methods of ActionDispatch::Request | Carlhuda | 2010-03-03 | 4 | -35/+25 |
| | |||||
* | Work on deprecating ActionController::Base.relative_url_root | Carlhuda | 2010-03-03 | 5 | -21/+48 |
| | |||||
* | Move InheritableOptions into ActiveSupport | Carlhuda | 2010-03-03 | 1 | -8/+0 |
| | |||||
* | Move session_store and session_options to the AC configuration object | Carlhuda | 2010-03-03 | 4 | -29/+54 |
| | |||||
* | Remove a failed attempt at refactoring AC configuration | Carlhuda | 2010-03-03 | 4 | -32/+0 |
| | |||||
* | Actually move ImplicitRender into it's own file | Carl Lerche | 2010-03-03 | 3 | -23/+22 |
| | |||||
* | Add missing super call in AC::Metal. [#4085 status:resolved] | José Valim | 2010-03-03 | 1 | -0/+1 |
| | |||||
* | Fix failing Action Pack tests | Carlhuda | 2010-03-02 | 1 | -1/+1 |
| | |||||
* | No longer add missing leading / on path args to assert_redirected_to. ↵ | Jeremy Kemper | 2010-03-02 | 1 | -9/+14 |
| | | | | Deprecated in 2.3.6. | ||||
* | Get the railties tests to pass again. | Carlhuda | 2010-03-02 | 1 | -5/+0 |
| | |||||
* | Moved initializers for ActionMailer and ActionController into their own railties | Carlhuda | 2010-03-02 | 1 | -0/+5 |
| | |||||
* | Revert orphaned SharedTestRoutes | Jeremy Kemper | 2010-03-01 | 1 | -2/+1 |
| | |||||
* | Update versions of all components to normalize them to new format | Bryan Helmkamp | 2010-03-02 | 1 | -3/+4 |
| | |||||
* | Merge _details_defaults and details_for_render | Carlhuda | 2010-03-01 | 3 | -7/+3 |
| | |||||
* | Change AV formats so they can delegate to the controller. Now users (or ↵ | Carlhuda | 2010-03-01 | 4 | -19/+29 |
| | | | | plugins) can override details_for_render in their controllers and add appropriate additional details. Now if only they could *do* something with those details... | ||||
* | Delegate formats to the controller | Carlhuda | 2010-03-01 | 2 | -2/+27 |
| | |||||
* | Request#subdomain returns a string version of Request#subdomains | Joshua Peek | 2010-02-28 | 1 | -0/+4 |
| |