Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8633 (new defect)

Opened 1 year ago

[PATCH] scriptaculous_slider plugin, fix init.rb script

Reported by: tzaharia Assigned to: core
Priority: low Milestone: 2.x
Component: Plugins Version: edge
Severity: normal Keywords: scriptaculous slider plugin
Cc:

Description

The init.rb script for the scriptaculous_slider plugin is broken. It uses ActionView::Base.load_helpers, which won't work for 2 reasons:

  • load_helpers doesn't have an argument anymore while scriptaculous_slider still passes in its helper directory as a param
  • load_helpers looks like it's now intended to only load internal helpers, so the 'lib/helpers' load path for this plugin won't be found

The included patch fixes init.rb so that the helper is properly loaded into ActionView.

Attachments

fix_scriptaculous_slider_init.diff (457 bytes) - added by tzaharia on 06/12/07 14:56:12.

Change History

06/12/07 14:56:12 changed by tzaharia

  • attachment fix_scriptaculous_slider_init.diff added.