ramya wrote in post #1018047: > Hi, > > I need to pass the parameters from a method in a controller to a form > (i.e in views). > Please let me know how to achieve this. >
def your_method(x, y, z) @x, @y, @z = x, y, z end -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

