Forum: Ruby on Rails uncaught exception: controls.js requires including

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.
60bb25c88eda9e783e1d22653e26f86d?d=identicon&s=25 Smarty 2k (smartee)
on 2008-11-24 08:34
hi friends...

Ajax problem....
please help me.
Ajax using delete the record

Browser Mozilla

my controller:

def delete
    redirect_to :action =>'book'

my view:

<%= link_to_remote (image_tag("../images/delete_bt.gif", :border => 0)),
      :url =>{
           :action => 'delete',
           :id =>},

uncaught exception: controls.js requires including'
effects.js library

Line 0
247cd3d37084a3d6794076207bd9fbd7?d=identicon&s=25 Bobnation (Guest)
on 2008-11-24 08:45
(Received via mailing list)
Looks to me like you need to include the library,
which is found in your public/javascripts/ folder. However, add this
to the <head> of your application layout:

<%= javascript_include_tag :defaults %>

Then make sure that everything is in the javascripts folder.

On Nov 24, 1:34 am, Smarty 2k <>
60bb25c88eda9e783e1d22653e26f86d?d=identicon&s=25 Smarty 2k (smartee)
on 2008-11-24 10:06
forgot it....
Thanks a lot friend..

Now working fine....
This topic is locked and can not be replied to.