Also getting this error in some of my scaffolds when clicking Create.

Deleting lib/active_scaffold/extensions/active_association_reflection.rb
fixes the problem, but I am unsure if this leaves something else with STI
broken.

On Sat, Jan 28, 2012 at 5:56 PM, Nick Rogers <[email protected]> wrote:

> In 3.2, I'm getting the following when clicking on certain nested scaffolds
>
> undefined method `original_build_association_called=' for
> #<ActiveRecord::Reflection::AssociationReflection:0x10d3c2428>
>
> active_scaffold has active_association_reflection.rb to fix some bug in
> rails.
> # Bugfix: building an sti model from an association fails
> #
> https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6306-collection-associations-build-method-not-supported-for-sti
> # https://github.com/rails/rails/issues/815
> # https://github.com/rails/rails/pull/1686
> ...
>
> I can't figure out if this fix is still needed or not. It seems like it
> is. However the original_build_association_called method no longer exists
> in 3.2, so I am not sure how to fix this correctly.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to