Forum: Ruby on Rails Inserting parent record's details into new page

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
30f3084a34f811f9262394ed31ca2e24?d=identicon&s=25 Paul Nichols (pcdj)
on 2007-07-25 12:50
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

Upon clicking a step, its metrics are displayed on a new page. On this
page I would also like to display a step field ( of the step
that was previously selected.

Can anyone help me figuring out how to insert such a field?
This topic is locked and can not be replied to.