Displaying 9 results from an estimated 9 matches for "acts_as_rateable".
2007 Jun 04
1
acts_as_rateable in Beast
I''m trying to implement acts_as_rateable to my Beast installation to
give users the option to rate posts (like reddit). I chose
acts_as_rateable as it supposedly easily allows reddit-type voting but
I''m having some problems setting it up and the documentation seems
outdated.
(http://www.juixe.com/techknow/index.php/2006/07/05/ac...
2007 Oct 31
0
another question about acts_as_rateable
...that''s confusing me.
---- from the tute : (in my ratings controller)
post = Post.find(params[:id])
post.add_rating Rating.new(:rating => 2)
If I place this in my code and update to match my models in my logs I
see the error - undefined method `add_rating''
Looking through the acts_as_rateable documentation I''m not seeing
that method either.
If I alter the code to use the rate method instead of add_rating: (in
my ratings controller)
post = Post.find(params[:id])
post.rate(:rating => 2)
It works and updates the db table and changes that posts rating.
The issue with my workar...
2008 Nov 03
0
acts_as_rateable in rails 2.2.0
Hi all,
I have a problem with acts_as_rateable in rails 2.2.0.
[code=]ActionView::TemplateError (uninitialized constant
<#object>::Rating) on line #10 of app/views/blah/blah.html.erb:
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:102:in
`const_missing''
/Library/Ruby/Gems/1.8/gems/activerecord...
2009 Feb 19
6
Rating
how to implement rating feature in rails and wat are the required gems
for that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2006 Sep 23
8
acts_as_rateable plugin help!
Hello,
I am having some trouble figuring out how to use the rateable plugin. i
followed as close as the directions located at
http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system
but i fail at working it.
i am getting this error
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.rating
Extracted source (around line #1):
1:
2006 May 25
1
Rating System in Rails
hi everybody,
can you tell me, is there any plugins available for Rating (Rating
system) in Rails?
or any other way to do it?
plz give me the url if such plugin exist...
and plz give me the url of tutorial if any alternatives for Rating
process is available....
i expect some good replies...
Regards,
Neo
--
Posted via http://www.ruby-forum.com/.
2008 Mar 30
0
plugin for recent changes display?
...and copy what they have on the
left sidebar here: http://gaxonline.com
What I need is very simple, something along the lines of:
- The user who did an action
- A title/link to what they did
- When it happened
It occurred to me that this is very close to some of the other plugins
out there such as acts_as_rateable or acts_as_commentable in that it''s a
simple 3-way association between a user, a model, and something else
(like a rating or comment).
Anyways, before I blab on too much, has anyone heard of a plugin that
already does this? If so, great! I''ll just drop it in. Otherwise,
I'...
2007 Mar 06
59
Memory leaks in my site
Hi all,
My environment is ruby-1.8.4, rails 1.2.2, mongrel 1.0.1, linux 2.6. Now, i
have a problem on memory leaks with mongrel. My site is running 5 mongrel
processes on a 2G RAM machine, the memory of each process grows from about
20M to about 250M, but it never recover to the initial 20M, so i had to
restart the mongrel processes once per day. The load is about 1M hits per
day.
Waiting for
2006 May 15
33
acts_as_commentable release
I now have the acts_as_commentable plugin up on RubyForge. This
plugin will allow you to add comments to any active_record object in
your Rails application.
So far the directions are simple, and there are only a few features:
To install:
ruby script/plugin install
svn://rubyforge.org//var/svn/commentable/acts_as_commentable
In the readme there is a sample migration you will need to use, with