Akshay Rawat
Not a member
Akshay Rawat's latest activity
Sunday, March 29 2009
2341
Nested finder include option with has_one
was updated
in Ruby on Rails
Wednesday, March 25 2009
2341
Nested finder include option with has_one
was updated
in Ruby on Rails
-
-
-
Akshay Rawat commented at 5:50 PMNested finder usage with has_one relationship
Code: http://pastie.org/426794
This fails on Rails 2.2 and passes on Rails 2.0
Thanks
-
Akshay Rawat created the ticket at 5:46 PMLooks like it is a problem only when there is a has_one relationship.
class Book < ActiveRecord::Base has_one :distributor end
class Distributor < ActiveRecord:...