What's the proper way to access these from the view I'm rendering? I
can access the params object to get at the info if I'm only passing one
value, but I'm having problems getting at both key/value pairs.
I've tried multiple variations of the following with no success:
What's the proper way to access these from the view I'm rendering? I
can access the params object to get at the info if I'm only passing
one
value, but I'm having problems getting at both key/value pairs.
I've tried multiple variations of the following with no success:
<%= params[:data["title"]] %>
params[:data][:title]
(the params hash is magic so it doesn't matter if you use strings or
keys)