Jump to content

The ultimate community for Ruby on Rails developers.


Photo

Voting Gem for polls, mutually exclusive options

voting polls

  • Please log in to reply
2 replies to this topic

#1 ahnbizcad

ahnbizcad

    Passenger

  • Members
  • 7 posts

Posted 06 July 2014 - 11:17 PM

I've looked up acts_as_votable, and make_votable gems.

But I've yet to find a good gem that has mutually exclusive options good for making polls.
(acts_as_votable allows for vote_scopes, like "funny", "cool", "helpful", but a single user can vote for all of those scopes. Given a few scopes - or options - I want to be able to restrict the number of votes for a given set of options, preferably customize that number, and even better if you can create multiple groups, and groups of groups.)

Recommendations appreciated =]



#2 Ohm

Ohm

    Driver

  • Moderators
  • 410 posts
  • LocationCopenhagen

Posted 07 July 2014 - 08:04 PM

It does indeed seem like there are no gems matching your need.

 

I believe you'll have to create it yourself, possibly creating a gem out of it?  ;)


Blog: http://ohm.sh | Twitter: @madsohm | Work: Lokalebasen.dk


#3 ahnbizcad

ahnbizcad

    Passenger

  • Members
  • 7 posts

Posted 10 August 2014 - 10:14 PM

As soon as i figure out how to make a gem, I want to fork and adapt the acts_as_votable gem.

Do you have a favorite concise resource on how to make a gem?







Also tagged with one or more of these keywords: voting, polls

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users