On 27 Nov 2007, at 03:38, Michael Koziarski wrote:
>>
>> Conceptually I would think that foo.some_association.reload should
>> always give you the current value of the association, i.e. some
>> instance of an ActiveRecord object, or nil if there is none. In this
>> particular edge case what you get back is false instead, which  
>> doesn't
>> seem quite right - nil would be the correct return value.
>>
>> Opinions?
>
> I can't see any particular reason for this behaviour,  if you can
> create a patch with tests sounds like a good quick fix.

Coolio - It's at http://dev.rubyonrails.org/ticket/10293

Fred

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to