Rails: How can I define one-to-many relationships using the rails "generate" script?

Posted by Drew Johnson on Stack Overflow See other posts from Stack Overflow or by Drew Johnson
Published on 2010-04-16T20:34:05Z Indexed on 2010/04/16 21:13 UTC
Read the original article Hit count: 319

Filed under:
|

I'd like to run the rails "generate" script and create a model that belongs two other models. Is there a way that I can do this?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about model