I've got a Text property and I understand those are considered lazy by 
default. That's OK. But I'm having an issue where it does not appear to be 
loading the property even though I'm accessing it (and I've checked 
elsewhere the property is non-nil). Code looks like the following:

puts "Checking article: " + article.inspect # reveals article.body=<not 
loaded>
return :error if !article.body # returns here instead of loading body!!

Am I doing something wrong? I would expect my second line to load the body 
property and then return accordingly.

Thanks,
Jason.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/datamapper/-/kS57mwrl4H0J.
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