I have a list of steps.
My step controller has the following method:
def display_stepinfo
@step = Step.find(params[:id])
@metrics = @step.step_metrics
end
Upon clicking a step, its metrics are displayed on a new page. On this
page I would also like to display a step field (step.name) of the step
that was previously selected.
Can anyone help me figuring out how to insert such a field?
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---