Displaying 1 result from an estimated 1 matches for "find_in_bars".
2006 May 05
0
Missing documentation for find_in_collection? Trying to drill down in a 4 level has_many association fails
...ambigious_select?
>> @user.find_in_foos(1)
=> #<Foo:0x26a0008 @attributes={
It''s really crazy, I can use that method @user.find_in_foos(1) and
get an object that belongs to the user and once that is done, it
opens up more find commands (specifically find_all_in_bars and
find_in_bars) to the next layer in my tier. So now I want to try and
find an associated object to the user by using the new methods. But
it fails if the association is more than 1 deep. So for example...
>> @user.find_in_bars(1)
NoMethodError: LOG: duration: 468.984 ms statement: SELECT * FROM
c...