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.
5c26728d2db67a78f9097f63ed3c8d37?d=identicon&s=25 Bing (Guest)
on 2006-05-18 13: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?


C29d9db03853958c4de5ee6b06edd39a?d=identicon&s=25 Nicolas Buet (Guest)
on 2006-05-18 16:24
(Received via mailing list)
does reading the manual about link_to help you?
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Richard Williams (Guest)
on 2006-05-18 16:33
(Received via mailing list)
5c26728d2db67a78f9097f63ed3c8d37?d=identicon&s=25 Bing (Guest)
on 2006-05-19 07: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.