your right, im still not exactly sure where, but I re-factored it and
made it dumber and now it works, thanks for the help!

Joel


On Mar 19, 9:18 am, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Viernes, 19 de Marzo de 2010 13:49:14 joelkeepup escribió:
>
> > yes, I go to application, click on steps link (shows nested steps),
> > then click on tasks link to show nested tasks, this is when it blows
> > up.
>
> > here is the full stack if it helps:
>
> > Malformed constraint `Registrar#application_step'. If it's a
> > legitimate column, and you are using a nested scaffold, please specify
> > or double-check the reverse association name.
>
> I think is loading another controller, it's loading a controller where
> active_scaffold_config.model is Registrar. Probably a bug in your
> active_scaffold_controller_for
>
> > RAILS_ROOT: /Users/jnylund/Projects/aras
> > Application Trace | Framework Trace | Full Trace
>
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/constraints.rb:42:in `each'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/constraints.rb:42:in `conditions_from_constraints'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/finder.rb:125:in `all_conditions'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/finder.rb:167:in `find_page'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/actions/list.rb:71:in `do_list'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/actions/list.rb:12:in `table'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:1331:in `send'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:1331:in `perform_action_without_filters'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > filters.rb:617:in `call_filters'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > filters.rb:610:in `perform_action_without_benchmark'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:68:in `perform_action_without_rescue'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:10:in `realtime'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:68:in `perform_action_without_rescue'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > rescue.rb:160:in `perform_action_without_flash'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > flash.rb:146:in `perform_action_without_render_component'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:532:in `send'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:532:in `process_without_filters'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > filters.rb:606:in `process'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > renderable.rb:34:in `send'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > renderable.rb:34:in `render'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:
> > 306:in `with_template'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > renderable.rb:30:in `render'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > renderable_partial.rb:20:in `render'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:26:in `benchmark'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:10:in `realtime'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:26:in `benchmark'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > renderable_partial.rb:19:in `render'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > template.rb:205:in `render_template'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > renderable_partial.rb:44:in `render_partial'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/
> > partials.rb:184:in `render_partial'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:
> > 267:in `render_without_active_scaffold'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:973:in `render_without_benchmark'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:51:in `render_without_active_scaffold'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:10:in `realtime'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:51:in `render_without_active_scaffold'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:995:in `render_to_string'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > mime_responds.rb:135:in `call'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > mime_responds.rb:135:in `custom'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > mime_responds.rb:179:in `call'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > mime_responds.rb:179:in `respond'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > mime_responds.rb:173:in `each'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > mime_responds.rb:173:in `respond'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > mime_responds.rb:107:in `respond_to'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:1331:in `send'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:1331:in `perform_action_without_filters'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > filters.rb:617:in `call_filters'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > filters.rb:610:in `perform_action_without_benchmark'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:68:in `perform_action_without_rescue'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:10:in `realtime'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > core_ext/benchmark.rb:17:in `ms'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > benchmarking.rb:68:in `perform_action_without_rescue'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > rescue.rb:160:in `perform_action_without_flash'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > flash.rb:146:in `perform_action_without_render_component'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:532:in `send'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:532:in `process_without_filters'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > filters.rb:606:in `process'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:391:in `process'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > base.rb:386:in `call'
> > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
> > routing/route_set.rb:437:in `call'
>
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/constraints.rb:42:in `each'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/constraints.rb:42:in `conditions_from_constraints'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/finder.rb:125:in `all_conditions'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/finder.rb:167:in `find_page'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/actions/list.rb:71:in `do_list'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > active_scaffold/actions/list.rb:12:in `table'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:39:in `perform_action'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:27:in `process_with_components'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:93:in `component_response'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:65:in `render_component_as_string'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:125:in `component_logging'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:64:in `render_component_as_string'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:33:in `__send__'
> > /Users/jnylund/Projects/aras/vendor/plugins/render_component/lib/
> > components.rb:33:in `render_component'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/lib/
> > extensions/action_view_rendering.rb:59:in `render'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/frontends/
> > default/views/_nested.html.erb:39:in
> > `_run_erb_vendor47plugins47active_scaffold47frontends47default47views47_nes
> >ted46html46erb_locals_nested_object'
> > /Users/jnylund/Projects/aras/vendor/plugins/active_scaffold/frontends/
>
> ...
>
> read more »

-- 
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