Hi guys,

I've installed as_sortable, and it works fine with controllers that have
sorting, but when I try to update a record that doesn't have sorting enabled
through the inline form, i get this error during the partial rendering after
the action was successful. any idea how to fix this?


thx :)

-C

ActionView::TemplateError (undefined local variable or method `sort_params'
for #<ActionView::Base:0x429a09b0>) on line #13 of
vendor/plugins/active_scaffold_sortable/app/views/active_scaffold_overrides/on_update.js.rjs:
10: end
11: page.replace_html active_scaffold_messages_id, :partial => 'messages'
12:
13: page.sortable(*sort_params)


vendor/plugins/active_scaffold_sortable/app/views/active_scaffold_overrides/on_update.js.rjs:13:in
`_run_rjs_vendor47plugins47active_scaffold_sortable47app47views47active_scaffold_overrides47on_update46js46rjs'

vendor/plugins/active_scaffold_sortable/app/views/active_scaffold_overrides/on_update.js.rjs:1:in
`_run_rjs_vendor47plugins47active_scaffold_sortable47app47views47active_scaffold_overrides47on_update46js46rjs'

Rendered rescues/_trace (288.0ms)
Rendered rescues/_request_and_response (0.5ms)
Rendering rescues/layout (internal_server_error)

--

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