Forum: Ruby on Rails How to call controller from a div

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.
Bing (Guest)
on 2006-05-18 15:24
Hi guys,

it's me again,

Just wanted to ask, what technique can you use to call a def inside your
controller while clicking on a div?


Nicolas B. (Guest)
on 2006-05-18 18:24
(Received via mailing list)
does reading the manual about link_to help you?
Richard W. (Guest)
on 2006-05-18 18:33
(Received via mailing list)
Bing (Guest)
on 2006-05-19 09:26
Hey Nicolas,

thanks, will give it a try. I can't use link_to it seems bec it needs to
redirect to another url. I may need to use link_to_remote.


This topic is locked and can not be replied to.