How to use Rambling Slider Rails

Dear all developers,
I want to use slideshow in my website. and i did a research rambling slider could use with rails.
but i don’t know how to use it. any one could help me.

thanks you,

Hi Veasna,

Try to this flow.


Add the following line to your Gemfile :

gem 'rambling-slider-rails'

And proceed to run:

bundle install


After the installation is complete, you can include the jQuery Rambling Slider on the application.jswith:

//= require jquery
//= require jquery.rambling.slider

And the slider’s styles on the application.css with:

 *= require jquery.rambling.slider

You can also include the slider on a specific page with the javascript_include_tag and thestylesheet_link_tag like this:

= javascript_include_tag 'jquery.rambling.slider'
= stylesheet_link_tag 'jquery.rambling.slider'

Remember to initialize the jQuery Rambling Slider with:

$(function() {

Thanks you so much daynthan kabilan

I will try it.