I'm working with rails3-amf and MongoDB. I'm trying to do this:
format.amf { render :amf => @articles.collect.to_amf(:include => [:category]) }
And I get the following error:
undefined method `serializable_add_includes' for #<Article:0xb6759084>
I can call Article.serializable_hash(:include => :category) and that
works fine, but of course it does not have a to_amf method.
Any help appreciated,
Lyle
I will check that out, but :methods is working beautifully for now.
Thanks.
> --
> You received this message because you are subscribed to the Google Groups "rubyamf" group.
> To post to this group, send email to rub...@googlegroups.com.
> To unsubscribe from this group, send email to rubyamf+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyamf?hl=en.
>
>