Hi
I have installed query-ui-rails gem and included in my bundle. I did the
following:
1. application.html.erb file:
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
2. application.js file:
//= require jquery
//= require jquery.ui.all
//= require jquery_ujs
//= require_tree .
3. application.css file:
/*= require_self
*= require jquery.ui.all
*= require_tree .
*/
4. _products.html.erb file:
<%= draggable("product_#{product.id}",:revert => true) %>
When I run my app and go to my _products.html.erb page, I get the following
error message:
Product Load (0.4ms) SELECT `products`.* FROM `products` WHERE
`products`.`member_id` = 118
Rendered catalogs/_products.html.erb (216.5ms)
Rendered catalogs/catalogue.html.erb within layouts/application (257.1ms)
Completed 500 Internal Server Error in 311ms
ActionView::Template::Error (undefined method `draggable' for
#<#<Class:0x007fa616993748>:0x007fa6169985e0>):
24: </dd>
25: </dl>
26:
27: <%= draggable("product_#{product.id}",:revert => true) %>
28: <% end %>
29: <%end%>
I am new to query and ajax technology. I must have done something wrong.
Can anyone tell me where the problem is and how to correct it?
Thank you, Zoulfia
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails Gem" 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].
Visit this group at http://groups.google.com/group/activescaffold?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.