Scratch that. I had an extra ! somewhere it didn't belong. How terribly 
embarrassing.

On Wednesday, July 18, 2012 12:41:30 PM UTC-4, jbrennan wrote:
>
> 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/-/WYAIH0IVErIJ.
To post to this group, send email to datamapper@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to