Y.new

controllers don't care what models you use.

-eric

On Nov 21, 12:09 pm, RVince <rvinc...@hotmail.com> wrote:
> If I am in the controller for Model X, and inside a method there I
> want to create a new instance of (i.e. insert a new row into the DB
> table for) Model Y, how do I express this? Thanks, R.Vince

--

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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=.


Reply via email to