Ruby on Rails Wednesday, September 29, 2010

On Sep 29, 3:09 pm, Anderson Leite <li...@ruby-forum.com> wrote:
> not perfect yet, but there is something like this...:
>
> Post.reflect_on_association :comments
>
> ..that returns a boolean...
>
It should be returning a reflection object. see also the reflections
method and reflect_on_all_associations

Fred

> Not perfect yet..but helps...
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment