Have you read anything about polymorphic relationships yet? That's a good place 
to start. Rails Guides, ActiveRecord Relations, read the whole page, but pay 
attention to the section on Polymorphism.

Walter

On Jan 17, 2014, at 4:55 AM, Takashi Nakagawa wrote:

> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/ecc2d9dd-fb18-4248-a50c-4fa9c36721b1%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7D746C43-DD9F-40ED-B58D-A34EB75FDB2A%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to