Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove mocha from ActionPack tests | Marcin Olichwirowicz | 2015-09-05 | 1 | -19/+23 |
| | |||||
* | Switch to kwargs in ActionController::TestCase and ActionDispatch::Integration | Kir Shatrov | 2015-01-29 | 1 | -24/+24 |
| | | | | | | | | Non-kwargs requests are deprecated now. Guides are updated as well. `post url, nil, nil, { a: 'b' }` doesn't make sense. `post url, params: { y: x }, session: { a: 'b' }` would be an explicit way to do the same | ||||
* | Clear inflections after test. | Zuhao Wan | 2014-05-28 | 1 | -7/+19 |
| | |||||
* | Do not discard query parameters on requests that use wrap_parameters | Josh Jordan | 2014-01-30 | 1 | -0/+20 |
| | |||||
* | start using options object | Aaron Patterson | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | Remove integration between attr_accessible/protected and ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -40/+0 |
| | | | | AC::Metal::ParamsWrapper | ||||
* | Show in log correct wrapped keys | Dmitry Vorotilin | 2012-05-20 | 1 | -0/+8 |
| | |||||
* | Merge pull request #4445 from nragaz/role_based_params_wrapping | José Valim | 2012-05-04 | 1 | -2/+15 |
| | | | | specify a role for identifying accessible attributes when wrapping params | ||||
* | Fix warning for params_wrapper_test. | kennyj | 2011-12-08 | 1 | -1/+1 |
| | |||||
* | ParamsWrapper only wrap the accessible attributes when they were set | Jean-Francois Turcot | 2011-12-07 | 1 | -1/+28 |
| | |||||
* | use classify in ParamsWrapper to derive model name from controller name | lest | 2011-12-05 | 1 | -0/+35 |
| | |||||
* | Use lazy load hooks to set parameter wrapping configuration. This means that ↵ | Jon Leighton | 2011-08-16 | 1 | -7/+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/+7 |
| | | | | use config object instead. Cuts about 15% off the load time. (#734) | ||||
* | renamed the wrap_parameters :only and :except options to :include and ↵ | Josh Kalderimis | 2011-05-19 | 1 | -6/+6 |
| | | | | :exclude to make it consistent with controller filters | ||||
* | add more robust test for wrapping params with anonymous class | David Chelimsky | 2011-05-17 | 1 | -25/+45 |
| | |||||
* | better test name | David Chelimsky | 2011-05-17 | 1 | -1/+1 |
| | |||||
* | add failing test for https://github.com/rails/rails/issues/1089 | David Chelimsky | 2011-05-17 | 1 | -0/+7 |
| | |||||
* | Make ParamsWrapper calling newly introduced `Model.attribute_names` instead ↵ | Prem Sichanugrist | 2011-05-15 | 1 | -10/+8 |
| | | | | of `.column_names` | ||||
* | Do not try to call `column_names` on the abstract class. | Prem Sichanugrist | 2011-05-15 | 1 | -1/+14 |
| | | | 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 | -21/+24 |
| | | | | raising NameError, closes #477. | ||||
* | Fix typos in test method names | Vijay Dev | 2011-05-03 | 1 | -3/+3 |
| | |||||
* | Fix broken params_wrapper_test on 1.8.7 :bomb: | Prem Sichanugrist | 2011-05-03 | 1 | -36/+80 |
| | | | | | I have to keep in mind that 1.8.7 does *not* preserve the hash order. Guys, let's move to use 1.9.2 in production! | ||||
* | Move most processing to load time for performance and improve test suite. | José Valim | 2011-05-03 | 1 | -12/+27 |
| | |||||
* | Add `ActionController::ParamsWrapper` to wrap parameters into a nested hash | Prem Sichanugrist | 2011-05-03 | 1 | -0/+187 |
This will allow us to do a rootless JSON/XML request to server. |