On 27.11.2008, at 5:16, makoto kuwata wrote:

>
> Hi,
>
> I have a question about lazy loading.
> If lazy loaging is enabled,
>  object.attr = 'new value'
>  object.save
> doens't work correctly (= UPDATE statement is not submitted).
> Is it intended spec?
>


I've submitted a bug ticket #663, but it is gone now as well as a half  
of lighthouse =(
I had a similar problem with validations for the lazy columns: when  
validation causes column to be loaded, model becomes non-dirty and  
update is not executed. Maybe, original_values are cleared when model  
is reloaded (even partially, as in case of lazy attributes).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to