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 [14f1b09b46f3bd01634d299a680804e9aee8a96c] by Mikel Lindsaar

Revision 14f1b09b46f3bd01634d299a680804e9aee8a96c, committed by Mikel Lindsaar · September 11th, 2010 @ 02:26 AM

Intersection between a relation and an array works in both directions.

Back port of commits a513f8f8bb3c4fff88ab marklazz (author) & 1c283765b603ffe57ebe Kanetontli (author)
http://github.com/rails/rails/commit/14f1b09b46f3bd01634d299a680804...

2 changed files

  • M activerecord/lib/active_record/relation/spawn_methods.rb
  • M activerecord/test/cases/relations_test.rb