How to use x.new() in y_controller.rb where x is model and y is
controller?
Thanks
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?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs