Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix exclusive range patch to use begin/end instead of min/max. [#2981 ↵ | Adam Keys | 2009-08-08 | 2 | -4/+22 |
| | | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Simplyfy validates_length_of and remove puts | Pratik Naik | 2009-08-08 | 2 | -5/+7 |
| | |||||
* | validates_length_of with maximum should allow nil [#2309 status:resolved] | jzw | 2009-08-08 | 2 | -5/+11 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use send instead of instance_eval | Pratik Naik | 2009-08-06 | 2 | -4/+4 |
| | |||||
* | Allow validations to use values from custom readers [#2936 state:resolved] | James Hill | 2009-08-05 | 5 | -4/+71 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Extract generic attribute method generation to AMo | Joshua Peek | 2009-08-04 | 2 | -0/+268 |
| | |||||
* | Add simple support for ActiveModel's StateMachine for ActiveRecord | Joshua Peek | 2009-08-04 | 4 | -29/+21 |
| | |||||
* | Add support for error_messages_for(@obj) | Yehuda Katz | 2009-07-28 | 1 | -1/+2 |
| | |||||
* | Dasherize XML root by default to avoid invalid tags ↵ | Joshua Peek | 2009-07-22 | 3 | -1/+16 |
| | | | | "<admin/posts>...</admin/posts>" [#2875 state:resolved] | ||||
* | Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: ↵ | John Maxwell | 2009-07-22 | 2 | -1/+17 |
| | | | | | | If two parameters are present in Procs supplied to to_xml's :procs option, the model being serialized will be passed as the second argument [#2373 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Clean up validation example | Joshua Peek | 2009-07-21 | 1 | -15/+8 |
| | |||||
* | So you can require 'activemodel' | Joshua Peek | 2009-07-21 | 1 | -0/+1 |
| | |||||
* | AMo conversion helper | Joshua Peek | 2009-07-21 | 3 | -26/+9 |
| | |||||
* | Kill AMo Base | Joshua Peek | 2009-07-21 | 3 | -11/+5 |
| | |||||
* | Improve AMo observing docs | Joshua Peek | 2009-07-21 | 1 | -4/+73 |
| | |||||
* | Add wrap_with_notifications helper to AMo observing | Joshua Peek | 2009-07-20 | 1 | -2/+20 |
| | |||||
* | Kill AMo ivar attributes helper | Joshua Peek | 2009-07-20 | 7 | -58/+8 |
| | |||||
* | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 2 | -0/+26 |
| | | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP | ||||
* | Add some simple examples for unconventional AMo and AP use | Yehuda Katz | 2009-07-19 | 1 | -0/+36 |
| | |||||
* | Add some missing dependencies | Yehuda Katz | 2009-07-15 | 1 | -0/+2 |
| | |||||
* | Integrate AMo XML serializer into AR | Joshua Peek | 2009-07-11 | 1 | -22/+27 |
| | |||||
* | Integrate AMo JSON serializer into AR | Joshua Peek | 2009-07-03 | 3 | -31/+110 |
| | |||||
* | Initial extraction of AMo xml serializer | Joshua Peek | 2009-07-03 | 7 | -20/+346 |
| | |||||
* | Ensure JSON serializer includes model naming | Joshua Peek | 2009-07-03 | 2 | -1/+2 |
| | |||||
* | Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -2/+0 |
| | | | | state:resolved] | ||||
* | Add basic JSON serializer to AMo | Joshua Peek | 2009-06-17 | 3 | -0/+106 |
| | |||||
* | Add simple attribute implementation backed by ivars | Joshua Peek | 2009-06-17 | 3 | -0/+48 |
| | |||||
* | Simplify AMo validation attribute reader | Joshua Peek | 2009-06-17 | 3 | -17/+13 |
| | |||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 3 | -0/+54 |
| | |||||
* | Move observing notify helper into AMo | Joshua Peek | 2009-06-11 | 1 | -0/+6 |
| | |||||
* | Fix observing AS dependencies | Joshua Peek | 2009-06-11 | 1 | -0/+2 |
| | |||||
* | Integrate ActiveModel::Observing into ActiveRecord | Joshua Peek | 2009-06-10 | 3 | -62/+87 |
| | |||||
* | each yields per message not per attribute | Jeremy Kemper | 2009-06-08 | 1 | -0/+1 |
| | |||||
* | Properly require ActiveModel validation dependencies | Joshua Peek | 2009-06-08 | 11 | -29/+35 |
| | |||||
* | Fix activesupport path | Joshua Peek | 2009-06-08 | 1 | -3/+1 |
| | |||||
* | AM::StateMachine autoloads | Jeremy Kemper | 2009-05-30 | 1 | -0/+5 |
| | |||||
* | Use AS::Concern in ActiveModel | Joshua Peek | 2009-05-30 | 2 | -9/+6 |
| | |||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 4 | -30/+21 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb | ||||
| * | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 3 | -0/+8 |
| | | |||||
| * | Cherry-pick the inflector only | Jeremy Kemper | 2009-05-05 | 1 | -11/+2 |
| | | |||||
| * | Fix tests on 1.9 | Jeremy Kemper | 2009-04-22 | 1 | -1/+1 |
| | | |||||
| * | No more free lunch | Jeremy Kemper | 2009-04-22 | 1 | -5/+10 |
| | | |||||
* | | Deprecate Model#validate/validate_on_create/validate_on_update. Use ↵ | Pratik Naik | 2009-03-21 | 2 | -12/+7 |
| | | | | | | | | Model.validate :method and likewise | ||||
* | | Deprecate Errors#on_base/add_to_base/invalid?/each_full | Pratik Naik | 2009-03-21 | 3 | -14/+26 |
| | | |||||
* | | Get rid of active_model/core and active_model/callbacks | Pratik Naik | 2009-03-21 | 4 | -17/+0 |
| | | |||||
* | | Validation options dont need explicit :on => :save | Pratik Naik | 2009-03-21 | 1 | -1/+1 |
| | | |||||
* | | Remove DEFAULT_VALIDATION_OPTIONS from validations | Pratik Naik | 2009-03-21 | 2 | -5/+1 |
| | | |||||
* | | Move validate_on_create and validate_on_update from ActiveModel to ActiveRecord | Pratik Naik | 2009-03-21 | 7 | -16/+8 |
| | | |||||
* | | Add ActiveModel::Validations tests for regular ruby classes | Pratik Naik | 2009-03-20 | 11 | -34/+160 |
| | | |||||
* | | Add I18n translations to ActiveModel and move more AR specific parts to ↵ | Pratik Naik | 2009-03-20 | 10 | -491/+408 |
| | | | | | | | | ActiveRecord::Validations |