Displaying 2 results from an estimated 2 matches for "option_selected".
2012 Sep 29
0
rails 3.2 nested form names not correct
.../div>
partial:
<div class="control-group">
<%= pregunta.label question.name, (question.label_text unless
question.label_text.nil?), :class => ''control-label'' %>
<div class="controls">
<%= pregunta.send(question.data_type, :option_selected ) %>
<%= pregunta.hidden_field :question_id, :value => question.id , :class
=> "#{question.data_type}" %>
</div>
</div>
Is there a way to get the attribute names to be correct?
The questions come from the db.
chrome inspector:
<input id="person_...
2006 May 03
8
hiding table IDs from users
I was wondering if anyone had thoughts on the most efficient way of
making sure users never see internal table IDs? Clearly, scaffold views
show a lot of IDs by default and those can be hidden. The problem seems
to be all of the IDs that Rails passes around in URLs (such as
http://mysite.com/user/show/12345).
My primary concerns are security and confidentiality--one can imagine
that there