Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change more Array.wrap to Kernel#Array | Rafael Mendonça França | 2012-01-05 | 1 | -6/+5 |
| | |||||
* | ParamsWrapper only wrap the accessible attributes when they were set | Jean-Francois Turcot | 2011-12-07 | 1 | -1/+8 |
| | |||||
* | use classify in ParamsWrapper to derive model name from controller name | lest | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Use safe_constantize where possible. | José Valim | 2011-09-23 | 1 | -6/+3 |
| | |||||
* | doc fixes | Vijay Dev | 2011-08-28 | 1 | -8/+8 |
| | |||||
* | params wrapper docs correction | Vijay Dev | 2011-08-21 | 1 | -4/+3 |
| | |||||
* | Use lazy load hooks to set parameter wrapping configuration. This means that ↵ | Jon Leighton | 2011-08-16 | 1 | -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 Leighton | 2011-08-16 | 1 | -0/+2 |
| | | | | use config object instead. Cuts about 15% off the load time. (#734) | ||||
* | some grammatical corrections | Vijay Dev | 2011-06-04 | 1 | -3/+3 |
| | |||||
* | renamed the wrap_parameters :only and :except options to :include and ↵ | Josh Kalderimis | 2011-05-19 | 1 | -17/+17 |
| | | | | :exclude to make it consistent with controller filters | ||||
* | Use anonymous? that works on both Ruby 1.8 and 1.9. | José Valim | 2011-05-17 | 1 | -2/+3 |
| | |||||
* | add more robust test for wrapping params with anonymous class | David Chelimsky | 2011-05-17 | 1 | -2/+1 |
| | |||||
* | Add fix for error when an anonymous controller subclasses ApplicationController | Andy Lindeman | 2011-05-17 | 1 | -1/+4 |
| | |||||
* | Make ParamsWrapper calling newly introduced `Model.attribute_names` instead ↵ | Prem Sichanugrist | 2011-05-15 | 1 | -3/+3 |
| | | | | of `.column_names` | ||||
* | Do not try to call `column_names` on the abstract class. | Prem Sichanugrist | 2011-05-15 | 1 | -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é Valim | 2011-05-11 | 1 | -5/+13 |
| | | | | raising NameError, closes #477. | ||||
* | Ensure params wrapper settings are not inherited and calculated each time. | José Valim | 2011-05-06 | 1 | -1/+1 |
| | |||||
* | More performance optimizations. | José Valim | 2011-05-03 | 1 | -13/+17 |
| | |||||
* | Improve performance for filtered parameters and add tests. | José Valim | 2011-05-03 | 1 | -3/+2 |
| | |||||
* | Move most processing to load time for performance and improve test suite. | José Valim | 2011-05-03 | 1 | -25/+49 |
| | |||||
* | Fix ParamsWrapper docs errors | Sebastian Martinez | 2011-05-02 | 1 | -2/+2 |
| | |||||
* | Add `ActionController::ParamsWrapper` to wrap parameters into a nested hash | Prem Sichanugrist | 2011-05-03 | 1 | -0/+197 |
This will allow us to do a rootless JSON/XML request to server. |