Forum: Ruby on Rails sortable_element helper query

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Amita B. (Guest)
on 2009-03-01 08:05
Is it possible to call helper method instead of controller action while
using sortable_element helper method?

The url field in the example is like controller/action type. Can we call
ControllerHelper method instead? Because we need to save the sorted
element in the database, so my guess was to call a method in a model.
Any clues?
Gavin (Guest)
on 2009-03-01 13:28
(Received via mailing list)
Why not call a controller action which, in turn calls your model
methods and saves?

Check out Railscast 147 - Ryan explains how to create a quick sortable
This topic is locked and can not be replied to.