| Commit message (Expand) | Author | Age | Files | Lines |
* | Make serializable_hash take attr values directly from attributes hash. | Jon Leighton | 2011-09-26 | 1 | -0/+9 |
* | fixed a bug with the json serialization when the class setting is set to not ... | Matt Aimonetti | 2011-09-22 | 1 | -0/+10 |
* | to_xml should also rely on serializable hash. | José Valim | 2011-09-18 | 1 | -0/+17 |
* | Generate attribute method unless it's already in the module. | Jon Leighton | 2011-09-14 | 1 | -0/+23 |
* | Add an attribute_missing method to ActiveModel::AttributeMethods. | Jon Leighton | 2011-09-13 | 1 | -0/+15 |
* | Let Ruby deal with method visibility. | Jon Leighton | 2011-09-13 | 1 | -0/+36 |
* | Add deprecation for doing `attribute_method_suffix ''` | Jon Leighton | 2011-09-13 | 1 | -6/+11 |
* | Use an empty AttributeMethodMatcher by default. | Jon Leighton | 2011-09-13 | 1 | -0/+17 |
* | Added test for obj.errors.as_json | Lawrence Pit | 2011-09-09 | 1 | -0/+11 |
* | Add ability to get an individual full error message + test for full_messages. | Lawrence Pit | 2011-09-09 | 1 | -2/+18 |
* | add has_key? to ActiveModel::Errors | Damien Mathieu | 2011-09-06 | 1 | -0/+6 |
* | Merge pull request #2563 from bogdan/internal_validation | José Valim | 2011-08-25 | 1 | -0/+33 |
|\ |
|
| * | Implemented strict validation concept | Bogdan Gusiev | 2011-08-17 | 1 | -0/+33 |
* | | added more tests for only-include and except-include options in serialization | Anand | 2011-08-23 | 1 | -1/+14 |
|/ |
|
* | Allow ActiveRecord observers to be disabled. | Myron Marston | 2011-08-12 | 1 | -0/+12 |
* | Merge pull request #2385 from bogdan/test_default_sanitizer2 | José Valim | 2011-08-01 | 1 | -1/+9 |
|\ |
|
| * | MassAssignmentProtection: consider 'id' insensetive in StrictSanitizer | Bogdan Gusiev | 2011-07-28 | 1 | -1/+9 |
* | | Rename new method to_path to to_partial_path to avoid conflicts with File#to_... | José Valim | 2011-08-01 | 2 | -7/+7 |
* | | Merge pull request #2034 from Casecommons/to_path | José Valim | 2011-07-28 | 2 | -5/+20 |
|\ \ |
|
| * | | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-07-25 | 2 | -5/+20 |
| |/ |
|
* / | Handle the empty array correctly. | thedarkone | 2011-07-27 | 1 | -0/+1 |
|/ |
|
* | ActiveModel support for the :include serialization option | John Firebaugh | 2011-07-17 | 2 | -8/+117 |
* | Add a test | John Firebaugh | 2011-07-17 | 1 | -0/+5 |
* | serializable_hash(:only => [], :methods => [:foo]) should work | John Firebaugh | 2011-07-17 | 1 | -0/+10 |
* | Enable passing root: false to #to_json | Joe Fiorini | 2011-07-01 | 1 | -1/+52 |
* | changing an attribute multiple times retains the correct original value | Ian Stewart | 2011-06-28 | 1 | -0/+9 |
* | Allow to specify mass-assignment roles as array | Alexander Uvarov | 2011-06-23 | 1 | -0/+14 |
* | Merge pull request #1654 from ganeshkumar/test_cases | Santiago Pastorino | 2011-06-13 | 1 | -1/+0 |
|\ |
|
| * | removed duplicate code | ganesh | 2011-06-11 | 1 | -1/+0 |
* | | Get rid of the alternate namespace lookup. | José Valim | 2011-06-11 | 1 | -10/+0 |
|/ |
|
* | Brought back alternative convention for namespaced models in i18n. | thoefer | 2011-06-08 | 1 | -0/+10 |
* | Transform the symbol into a constant lookup. | José Valim | 2011-05-31 | 1 | -4/+4 |
* | ActiveModel::MassAssignmentSecurity.mass_assignment_sanitizer method | Bogdan Gusiev | 2011-05-30 | 1 | -5/+13 |
* | MassAssignmentSecurity: add ability to specify your own sanitizer | Bogdan Gusiev | 2011-05-26 | 4 | -25/+25 |
* | No more need rubygems here. | Arun Agrawal | 2011-05-22 | 1 | -1/+0 |
* | Specify the name to be used for ActiveModel::Name fixes #1168 | Yves Senn | 2011-05-20 | 1 | -1/+38 |
* | Attributes with :string type should not be given the type passed in model ser... | Jim Herzberg | 2011-05-18 | 1 | -1/+7 |
* | Follow code conventions on some tests | Sebastian Martinez | 2011-05-10 | 4 | -29/+29 |
* | Methods that return nil should not be considered YAML | Joshua Wehner | 2011-05-10 | 1 | -0/+4 |
* | renamed mass-assignment scopes to roles, updated code, tests, docs and securi... | Josh Kalderimis | 2011-05-08 | 1 | -2/+2 |
* | :if should not fire on validations when not in context with :on | Aditya Sanghi | 2011-04-29 | 1 | -0/+14 |
* | Add additional tests for AM::ObserverArray that I had missed yesterday. | Myron Marston | 2011-04-28 | 1 | -1/+50 |
* | Fix bug with AM::Observer disablement. | Myron Marston | 2011-04-28 | 1 | -0/+10 |
* | Revert "Revert "Handle enabling/disabling observers at different levels of th... | Myron Marston | 2011-04-28 | 1 | -0/+39 |
* | Revert "Handle enabling/disabling observers at different levels of the class ... | José Valim | 2011-04-28 | 1 | -39/+0 |
* | Handle enabling/disabling observers at different levels of the class hierarchy. | Myron Marston | 2011-04-28 | 1 | -0/+39 |
* | Allow observers to be enabled and disabled. | Myron Marston | 2011-04-28 | 2 | -0/+127 |
* | AM mass assignment security attr_accessible and attr_protected now allow for ... | Josh Kalderimis | 2011-04-24 | 2 | -11/+39 |
* | bcrypt will encrypt anything, so validate_presence_of would not catch nil / b... | Aaron Patterson | 2011-04-14 | 1 | -0/+12 |
* | No need to rescue here. Invoking the wrong method in an object can happen any... | José Valim | 2011-04-11 | 3 | -34/+0 |