We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue by arthurccube Thursday Sep 26, 2013 at 17:07 GMT Originally opened as muratguzel#45
my call " rating_for_user ratable, user, r, :disable_after_rate => true"
gives the following errors, which disappear without the disable_after_rate
undefined method `ratings_given' for 22:Fixnum
Extracted source (around line #18):
15: %lable=t("activerecord.attributes.rating.#{r}") 16: .rating_wrapper 17: - if user.present? 18: = rating_for_user ratable, user, r, :disable_after_rate => true 19: - else 20: = rating_for ratable, r, :disable_after_rate => true 21:
Application Trace | Framework Trace | Full Trace
app/views/ratings/_ratable.haml:18:in block in _app_views_ratings__ratable_haml___940430013_100816650' app/views/ratings/_ratable.haml:13:ineach' app/views/ratings/_ratable.haml:13:in _app_views_ratings__ratable_haml___940430013_100816650' app/views/students/opinions/_nav_bar.haml:19:in_app_views_students_opinions__nav_bar_haml___121796833_107698390' app/views/students/opinions/show.html.haml:15:in _app_views_students_opinions_show_html_haml__499083187_105337980' app/controllers/students/opinions_controller.rb:16:inshow'
block in _app_views_ratings__ratable_haml___940430013_100816650' app/views/ratings/_ratable.haml:13:in
_app_views_ratings__ratable_haml___940430013_100816650' app/views/students/opinions/_nav_bar.haml:19:in
_app_views_students_opinions_show_html_haml__499083187_105337980' app/controllers/students/opinions_controller.rb:16:in
The text was updated successfully, but these errors were encountered:
Comment by guan Sunday Dec 29, 2013 at 08:20 GMT
i got same issues too
Sorry, something went wrong.
And anything on this one?
Any luck ?
I got same issues too
me too, any solution??
No branches or pull requests
Issue by arthurccube
Thursday Sep 26, 2013 at 17:07 GMT
Originally opened as muratguzel#45
my call
" rating_for_user ratable, user, r, :disable_after_rate => true"
gives the following errors, which disappear without the disable_after_rate
undefined method `ratings_given' for 22:Fixnum
Extracted source (around line #18):
15: %lable=t("activerecord.attributes.rating.#{r}")
16: .rating_wrapper
17: - if user.present?
18: = rating_for_user ratable, user, r, :disable_after_rate => true
19: - else
20: = rating_for ratable, r, :disable_after_rate => true
21:
Application Trace | Framework Trace | Full Trace
app/views/ratings/_ratable.haml:18:in
block in _app_views_ratings__ratable_haml___940430013_100816650' app/views/ratings/_ratable.haml:13:in
each'app/views/ratings/_ratable.haml:13:in
_app_views_ratings__ratable_haml___940430013_100816650' app/views/students/opinions/_nav_bar.haml:19:in
_app_views_students_opinions__nav_bar_haml___121796833_107698390'app/views/students/opinions/show.html.haml:15:in
_app_views_students_opinions_show_html_haml__499083187_105337980' app/controllers/students/opinions_controller.rb:16:in
show'The text was updated successfully, but these errors were encountered: