Scaffolding Extension - Polimorphic Associations


#1

When I try to use it with polimorphic associations I get the following
error

In browse action:

activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing’: uninitialized constant Privable

activerecord-1.14.2/lib/active_record/base.rb:1246:in compute_type' activesupport-1.3.1/lib/active_support/dependencies.rb:131:inconst_missing’
activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
const_missing' (eval):1:incompute_type’
-e:3

In show action:

activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing’: uninitialized constant Privable

Extracted source (around line #6):

3:


4:
5:
6: <% @scaffold_class.scaffold_fields.each do |column| %>
7:
8:
9:

activerecord-1.14.2/lib/active_record/base.rb:1246:in compute_type' activesupport-1.3.1/lib/active_support/dependencies.rb:131:inconst_missing’
activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
const_missing' (eval):1:incompute_type’
-e:3

Any ideas or hints how to fix this?

Cheers

Attribute Value
<%= column.humanize %> <%=h scaffold_value(@scaffold_singular_object, column)
%>