Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Implement ArraySerializer and move old serialization API to a new ↵ | José Valim | 2011-11-30 | 1 | -1/+0 |
| | | | | | | | | | | | | | namespace." This reverts commit 8896b4fdc8a543157cdf4dfc378607ebf6c10ab0. Conflicts: activemodel/lib/active_model.rb activemodel/lib/active_model/serializable.rb activemodel/lib/active_model/serializer.rb activemodel/test/cases/serializer_test.rb | ||||
* | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 1 | -2/+0 |
| | |||||
* | Implement ArraySerializer and move old serialization API to a new namespace. | José Valim | 2011-11-23 | 1 | -1/+3 |
| | | | | | | | | | | | | | The following constants were renamed: ActiveModel::Serialization => ActiveModel::Serializable ActiveModel::Serializers::JSON => ActiveModel::Serializable::JSON ActiveModel::Serializers::Xml => ActiveModel::Serializable::XML The main motivation for such a change is that `ActiveModel::Serializers::JSON` was not actually a serializer, but a module that when included allows the target to be serializable to JSON. With such changes, we were able to clean up the namespace to add true serializers as the ArraySerializer. | ||||
* | Initial implementation of ActiveModel::Serializer | Jose and Yehuda | 2011-10-15 | 1 | -0/+1 |
| | |||||
* | We're in 2011, let's update our license | Prem Sichanugrist | 2011-02-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Added ActiveRecord::Base#has_secure_password (via ↵ | David Heinemeier Hansson | 2010-12-18 | 1 | -0/+1 |
| | | | | ActiveModel::SecurePassword) to encapsulate dead-simple password usage with SHA2 encryption and salting | ||||
* | Always pull in version for frameworks (standardize autoload / require / none) | wycats | 2010-10-10 | 1 | -2/+1 |
| | |||||
* | Remove deprecations in ActiveModel. | José Valim | 2010-08-29 | 1 | -1/+0 |
| | |||||
* | mass_assignment_security moved from AR to AMo, and minor test cleanup | Josh Kalderimis | 2010-07-08 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Updating copyright dates on all licenses | Mikel Lindsaar | 2010-02-01 | 1 | -1/+1 |
| | |||||
* | Axe AM state machine | Joshua Peek | 2010-01-30 | 1 | -1/+0 |
| | | | | We're going do it eventually, get it done before 3.0 is final. | ||||
* | Autoload AMo test case | Joshua Peek | 2010-01-04 | 1 | -3/+4 |
| | |||||
* | Move ActiveRecord callbacks implementation to ActiveModel and make use of it. | José Valim | 2009-12-28 | 1 | -0/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Merge commit 'josevalim/validations' | Jeremy Kemper | 2009-12-28 | 1 | -3/+4 |
|\ | |||||
| * | No need to use ValidationsRepairHelper hack on ActiveModel anymore, ↵ | José Valim | 2009-12-23 | 1 | -1/+0 |
| | | | | | | | | Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there. | ||||
| * | validates_each uses a BlockValidator. | José Valim | 2009-12-23 | 1 | -0/+1 |
| | | |||||
| * | Move validations in ActiveModel to validators, however all validatity checks ↵ | José Valim | 2009-12-23 | 1 | -2/+3 |
| | | | | | | | | are still in the class method. | ||||
* | | Use i18n | Jeremy Kemper | 2009-12-27 | 1 | -0/+1 |
|/ | |||||
* | Fully expand relative rails framework paths and make sure we aren't | Joshua Peek | 2009-12-16 | 1 | -2/+3 |
| | | | | adding any to the load path more than once. | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -20/+23 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Move validator, human_name and human_attribute_name to ActiveModel, remove ↵ | José Valim | 2009-10-20 | 1 | -0/+2 |
| | | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | License, version, and gemspec for ActiveModel. Ship it! | Joshua Peek | 2009-08-31 | 1 | -0/+1 |
| | |||||
* | Initial AMo Lint implementation | Yehuda Katz | 2009-08-29 | 1 | -0/+1 |
| | |||||
* | Break up concerns for choosing what attributes should be serialized and the ↵ | Joshua Peek | 2009-08-13 | 1 | -1/+1 |
| | | | | actual serializer | ||||
* | Extract common dirty tracking methods in AMo | Joshua Peek | 2009-08-10 | 1 | -0/+1 |
| | |||||
* | Extract generic attribute method generation to AMo | Joshua Peek | 2009-08-04 | 1 | -0/+1 |
| | |||||
* | AMo conversion helper | Joshua Peek | 2009-07-21 | 1 | -1/+1 |
| | |||||
* | Kill AMo Base | Joshua Peek | 2009-07-21 | 1 | -1/+0 |
| | |||||
* | Kill AMo ivar attributes helper | Joshua Peek | 2009-07-20 | 1 | -1/+0 |
| | |||||
* | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 1 | -0/+1 |
| | | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP | ||||
* | Initial extraction of AMo xml serializer | Joshua Peek | 2009-07-03 | 1 | -0/+2 |
| | |||||
* | Add basic JSON serializer to AMo | Joshua Peek | 2009-06-17 | 1 | -0/+4 |
| | |||||
* | Add simple attribute implementation backed by ivars | Joshua Peek | 2009-06-17 | 1 | -0/+1 |
| | |||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+2 |
| | |||||
* | Integrate ActiveModel::Observing into ActiveRecord | Joshua Peek | 2009-06-10 | 1 | -4/+5 |
| | |||||
* | Fix activesupport path | Joshua Peek | 2009-06-08 | 1 | -3/+1 |
| | |||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 1 | -9/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Add I18n translations to ActiveModel and move more AR specific parts to ↵ | Pratik Naik | 2009-03-20 | 1 | -0/+2 |
| | | | | | | | | ActiveRecord::Validations | ||||
* | | ActiveModel.load_all! isn't really needed at this point | Pratik Naik | 2009-03-20 | 1 | -4/+0 |
| | | |||||
* | | Make Active Model test suite similar to Active Record | Pratik Naik | 2009-03-20 | 1 | -0/+3 |
| | | |||||
* | | Autload ActiveModel::Observing | Pratik Naik | 2009-03-20 | 1 | -0/+1 |
| | | |||||
* | | Move all the Active Record validations to Active Model | Pratik Naik | 2009-03-19 | 1 | -5/+43 |
|/ | |||||
* | tweak activemodel load order a bit | rick | 2008-06-27 | 1 | -16/+4 |
| | |||||
* | initial experimental commit of active_model | Rick Olson | 2007-11-09 | 1 | -0/+17 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |