search for: active_role_options

Displaying 1 result from an estimated 1 matches for "active_role_options".

2011 Mar 01
0
Association data within a fields_for
...%></td></tr> <% end %> but I can''t figure out how to do the same thing from within the fields_for on the edit page. <%= f.fields_for :schools_users do |f| %> <tr> <td><%= NEED USER NAME HERE %></td> <td><%= f.select(:user_role, active_role_options)%></td> <td><%= link_to_remove_fields ''Delete'', f %></td> </tr> <% end %> Thanks for any help! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send...