X Modek object into Y controller

How to use x.new() in y_controller.rb where x is model and y is
controller?

Thanks

Awijeet Mr. wrote:

How to use x.new() in y_controller.rb where x is model and y is
controller?

Thanks

Thanks got the solution.

On Mon, Sep 13, 2010 at 10:01 AM, Awijeet Mr. [email protected]
wrote:

How to use x.new() in y_controller.rb where x is model and y is
controller?

Thanks

Nothing to it, just type

X.new
like you said. What trouble are you having?