code_junkie

Composite keys with ActiveScaffold in Ruby On Rails

Nov 11th, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. ActionView::TemplateError (Could not find column contact,type) on line #3 of ven
  2. dor/plugins/active_scaffold/frontends/default/views/_form.rhtml:
  3. 1: <ol class="form" <%= 'style="display: none;"' if columns.collapsed -%>>
  4. 2: <% columns.each :for => @record do |column| -%>
  5. 3: <% if is_subsection? column -%>
  6. 4: <li class="sub-section">
  7. 5: <h5><%= column.label %> (<%= link_to_visibility_toggle(:default_visible =
  8. > !column.collapsed) -%>)</h5>
  9. 6: <%= render :partial => 'form', :locals => { :columns => column } %>
  10.  
  11. vendor/plugins/active_scaffold/lib/data_structures/sorting.rb:16:in `add'
  12.  
  13. set_primary_keys :contact, :type
Add Comment
Please, Sign In to add comment