# Ruby on Rails Carousel?

**URL:** <https://www.ruby-forum.com/t/ruby-on-rails-carousel/126862>\
**Category:** Rails\
**Created:** [January 22, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-carousel/126862 "2008-01-22T21:24:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![philthompson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed8c4c/32.png) [@philthompson](https://www.ruby-forum.com/u/philthompson)\
**Post date:** [January 22, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-carousel/126862/1 "2008-01-22T21:24:04Z")

</div>

Hi,

Does anyone have any experience using the prototype carousel from here  
[http://prototype-carousel.xilinus.com/](http://prototype-carousel.xilinus.com/) originally from Bill Scott but  
adapted by Sebastien Gruhier for RoR…

The problem is that I can’t get it to work at all. I’ve done the  
following:

I’ve downloaded the carousel.js into my public/javascripts directory  
I’ve downloaded the carousel.css file into my public/stylesheets  
directory,  
I’ve downloaded the carousel\_helper.rb file into my app/helpers  
directory,  
I’ve included the helper file in my controller class by doing “include  
CarouselHelper” and “helper :carousel”  
I’ve written the line “\<%=javascript\_include\_tag “carousel” %\>” in the  
appropriate place.  
I’ve written the line " \<%= stylesheet\_link\_tag “carousel” %\>" in the  
appropriate place

but STILL I get the message:  
" NoMethodError in User#index  
undefined method `carousel’ for #\<#Class:0xb684a72c:0xb684a704\>"

Does anyone have any ideas what could be going wrong? Or any links to  
other carousel libraries?

Thanks in advance,

Phil

---

<div class="post-metadata">

**Author:** ![philthompson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed8c4c/32.png) [@philthompson](https://www.ruby-forum.com/u/philthompson)\
**Post date:** [January 22, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-carousel/126862/2 "2008-01-22T23:39:16Z")

</div>

ok well I just found this

[http://groups.google.com/group/rubyonrails-spinoffs/browse\_thread/thread/7ca1d39a177e1b44](http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/7ca1d39a177e1b44)

and

[http://wiki.script.aculo.us/scriptaculous/show/Effect.MoveBy](http://wiki.script.aculo.us/scriptaculous/show/Effect.MoveBy)
