Comments (2)
Solved the problem by changing a line in my links_controller to...
id = "ajaxful_rating_no-small_#{!params[:dimension].blank? ? "#{params[:dimension]}-" : ''}link_#{@link.id}"
Now everything works.
Thanks,
Chris
from ajaxful-rating.
Glad you solved the problem. This technique is already added in a method called wrapper_dom_id
so you can just call @link.wrapper_dom_id(params)
to build the id for the div.
from ajaxful-rating.
Related Issues (20)
- Error raise to exec "rails g ajaxful_rating User" HOT 2
- undefined local variable or method `ajaxful_rater' rails 2.3.8 ruby 1.8.7
- Error during ails g ajaxful_rating Model HOT 1
- Add emoji
- Generator puts assets into wrong DIR for Rails 3.2.6
- Confusing branch strategy
- How to do 'ratings_for' a new object?
- How to control the precision and scale?
- Problem in using "rails g ajaxful_rating UserModelName" i.e while linking rate and user model HOT 2
- error: "Could not find generator authenticated"
- error: "Could not find generator authenticated"
- How to write member routes in rails 3.0 above versions HOT 2
- images and css files are copied to assets folder instead of app/assets
- Missing javascripts
- failed to set max stars with dimension HOT 1
- Demo site is down HOT 1
- Position of "no-small" in id of "ajaxful-rating-wrapper" class changes.
- Parsing Issue HOT 1
- Its work with rails 4?
- Not working with Rails 4.02 and ruby 2.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ajaxful-rating.