This project is archived and is in readonly mode.

Changeset [2120da7f733ba33183a42e71256db9652c5f5fcc] by Jon Leighton

January 4th, 2011 @ 12:24 AM

ActiveRecord::Relation#primary_key should return a string, just like ActiveRecord::Base.primary_key does.
https://github.com/rails/rails/commit/2120da7f733ba33183a42e71256db...

Committed by Jon Leighton

  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/lib/active_record/relation.rb
  • M activerecord/lib/active_record/relation/batches.rb
  • M activerecord/lib/active_record/relation/calculations.rb
  • M activerecord/lib/active_record/relation/finder_methods.rb
  • M activerecord/lib/active_record/relation/query_methods.rb
  • M activerecord/test/cases/relations_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>