Displaying 1 result from an estimated 1 matches for "role_right".
Did you mean:
fold_right
2006 Feb 15
4
problem with saving id''s in a join table
...; ''new''
end
end
============================
view:
============================
<p><label for="role_name">Name</label><br/>
<%= text_field ''role'', ''name'' %></p>
<div><label for="role_right">Rights</label><br/>
<ul>
<% for right in @rights %>
<li><input type="checkbox".
id ="<%= right.id %>".
name="right_ids[]".
value="<%= right.id %>".
> <%= right.name %></li>...