aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/params_wrapper.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Use lazy load hooks to set parameter wrapping configuration. This means that ↵Jon Leighton2011-08-161-2/+0
| | | | it doesn't force Action Controller / Active Record to load, but it doesn't fail if they have already loaded. Thanks @josevalim for the hint.
* Don't refer to ActionController::Base in the wrap_parameters initializer - ↵Jon Leighton2011-08-161-0/+2
| | | | use config object instead. Cuts about 15% off the load time. (#734)
* some grammatical correctionsVijay Dev2011-06-041-3/+3
|
* renamed the wrap_parameters :only and :except options to :include and ↵Josh Kalderimis2011-05-191-17/+17
| | | | :exclude to make it consistent with controller filters
* Use anonymous? that works on both Ruby 1.8 and 1.9.José Valim2011-05-171-2/+3
|
* add more robust test for wrapping params with anonymous classDavid Chelimsky2011-05-171-2/+1
|
* Add fix for error when an anonymous controller subclasses ApplicationControllerAndy Lindeman2011-05-171-1/+4
|
* Make ParamsWrapper calling newly introduced `Model.attribute_names` instead ↵Prem Sichanugrist2011-05-151-3/+3
| | | | of `.column_names`
* Do not try to call `column_names` on the abstract class.Prem Sichanugrist2011-05-151-1/+1
| | | Normally the table for abstract class won't be existed, so we should not trying to call `#column_names` on it.
* Get around weird missing constant error caused by AS instead of simply ↵José Valim2011-05-111-5/+13
| | | | raising NameError, closes #477.
* Ensure params wrapper settings are not inherited and calculated each time.José Valim2011-05-061-1/+1
|
* More performance optimizations.José Valim2011-05-031-13/+17
|
* Improve performance for filtered parameters and add tests.José Valim2011-05-031-3/+2
|
* Move most processing to load time for performance and improve test suite.José Valim2011-05-031-25/+49
|
* Fix ParamsWrapper docs errorsSebastian Martinez2011-05-021-2/+2
|
* Add `ActionController::ParamsWrapper` to wrap parameters into a nested hashPrem Sichanugrist2011-05-031-0/+197
This will allow us to do a rootless JSON/XML request to server.