I have two models, Stop and Station, they relate one station to many
Stop has_one :station
Station belongs_to :stop
So I can do @station.stops, but I cant do @stop.station, is this right?
For example in the view I have:
<% for @stop in @stops %>
This line, <%= @stop.station.name %>, throws an error.
Many thanks, P.