This project is archived and is in readonly mode.
Changeset [5ffaaa71d149c9807260c950c9a61d01fe734827] by Yehuda Katz
Revision 5ffaaa71d149c9807260c950c9a61d01fe734827,
committed by Yehuda Katz
· July 19th, 2009 @ 04:27 PM
Define ActiveModel API Compliance
- Define to_model on AR
- Define to_model on ActiveModel::APICompliant
- Update test fixtures to be API Compliant
- Start using to_model in AP http://github.com/rails/rails/co...
17 changed files
-
M
actionpack/lib/action_controller/routing/generation/polymorphic_routes.rb -
M
actionpack/lib/action_view/helpers/active_record_helper.rb -
M
actionpack/lib/action_view/helpers/form_helper.rb -
M
actionpack/test/abstract_unit.rb -
M
actionpack/test/activerecord/render_partial_with_record_identification_test.rb -
M
actionpack/test/controller/record_identifier_test.rb -
M
actionpack/test/controller/redirect_test.rb -
M
actionpack/test/lib/controller/fake_models.rb -
M
actionpack/test/template/active_record_helper_test.rb -
M
actionpack/test/template/atom_feed_helper_test.rb -
M
actionpack/test/template/prototype_helper_test.rb -
M
actionpack/test/template/record_tag_helper_test.rb -
M
actionpack/test/template/test_test.rb -
M
actionpack/test/template/url_helper_test.rb -
M
activemodel/lib/active_model.rb -
M
activemodel/lib/active_model/api_compliant.rb -
M
activerecord/lib/active_record/base.rb