This project is archived and is in readonly mode.

Changeset [4f37b97033f596ec2c95eb53e9964e051c224981] by José Valim

September 8th, 2009 @ 04:26 PM

Changed ActiveRecord to use new callbacks and speed up observers by only notifying events that are actually being consumed.

Signed-off-by: Joshua Peek josh@joshpeek.com
http://github.com/rails/rails/commit/4f37b97033f596ec2c95eb53e9964e...

Committed by José Valim

  • R activerecord/test/cases/repair_helper.rb
  • M activemodel/lib/active_model/validations.rb
  • M activemodel/lib/active_model/validations/presence.rb
  • M activemodel/lib/active_model/validations/with.rb
  • M activemodel/lib/active_model/validations_repair_helper.rb
  • M activemodel/test/cases/validations/i18n_generate_message_validation_test.rb
  • M activemodel/test/cases/validations/i18n_validation_test.rb
  • M activemodel/test/cases/validations_test.rb
  • M activemodel/test/models/reply.rb
  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/base.rb
  • M activerecord/lib/active_record/callbacks.rb
  • M activerecord/lib/active_record/observer.rb
  • M activerecord/lib/active_record/validations.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/callbacks_test.rb
  • M activerecord/test/cases/helper.rb
  • M activerecord/test/cases/lifecycle_test.rb
  • M activerecord/test/cases/transactions_test.rb
  • M activerecord/test/cases/validations/i18n_generate_message_validation_test.rb
  • M activerecord/test/cases/validations/i18n_validation_test.rb
  • M activerecord/test/cases/validations_test.rb
  • M activerecord/test/models/company.rb
  • M activerecord/test/models/reply.rb
  • M activesupport/lib/active_support/new_callbacks.rb
  • M activesupport/test/new_callbacks_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>