Vincent vega

hi!

i have a little problem, i cant take out the values of an array. here is
my problem



…controller

def create
@tray = Tray.new
@tray.put(params[:ordering])
end


…model

def put(ordering)
render_text ordering.pages
end


i become the param[:ordering], and then if i want to send the param to
another method, i dont know, how can i pick up the values of this array.
(the render_text is only to test if it works, and it doesnt work :[ )
but if i only put ordering, i see, that the values are there.

what can i do??

ty!!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs