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 [2120da7f733ba33183a42e71256db9652c5f5fcc] by Jon Leighton

Revision 2120da7f733ba33183a42e71256db9652c5f5fcc, committed 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...

7 changed files

  • 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