I am using jquery slider ui and rails 4. I am trying to implement a price 
slider for my product page. However, i have run into a problem. I have 
tried to search around but i cant seems to find a solution that helps. Hope 
someone could help me as I am quite new to ruby on rails. Thanks.

Here are my code

products_controller.rb

 respond_to do |format|
  format.js do
    render :update do |page|
      page.replace_html 'x_product_list', :partial => 'products/products_list', 
:locals => { :product => @product }

with this error:

ActionController::UnknownFormat

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/c4fb3a66-7dae-4b5f-b7ce-1268d839b774%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to