Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [250c8092461f5e6bf62751b313f6605a37fd1b2b] by José Valim

Revision 250c8092461f5e6bf62751b313f6605a37fd1b2b, committed by José Valim · February 21st, 2010 @ 10:12 AM

Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
http://github.com/rails/rails/commit/250c8092461f5e6bf62751b313f660...

20 changed files

  • M actionpack/lib/action_controller/polymorphic_routes.rb
  • M actionpack/lib/action_view/helpers/active_model_helper.rb
  • M actionpack/lib/action_view/helpers/form_helper.rb
  • M actionpack/lib/action_view/helpers/url_helper.rb
  • M actionpack/test/controller/mime_responds_test.rb
  • M actionpack/test/controller/redirect_test.rb
  • M actionpack/test/lib/controller/fake_models.rb
  • M actionpack/test/template/active_model_helper_test.rb
  • M actionpack/test/template/atom_feed_helper_test.rb
  • M actionpack/test/template/form_helper_test.rb
  • M actionpack/test/template/record_tag_helper_test.rb
  • M actionpack/test/template/url_helper_test.rb
  • M activemodel/examples/validations.rb
  • M activemodel/lib/active_model/conversion.rb
  • M activemodel/lib/active_model/lint.rb
  • M activemodel/test/cases/conversion_test.rb
  • M activemodel/test/cases/lint_test.rb
  • M activemodel/test/models/contact.rb
  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/base_test.rb