I'm looking for a simple quiz gem in Ruby on Rails. It needs to present the user with multiple choice questions (radio buttons, checkboxes only), tally up the right/wrong answers, and display the results at the end. The quiz will be about 25 questions - 1 question per page. It also needs to integrate with the site I'm building, so it can't be a standalone site, or third-party site.
So far I've found this gem, which looks promising: https://github.com/NUBIC/surveyor
Anyone know of any other Quiz gems in Rails?
Gems in Rails are libraries that allow any Ruby on Rails developer to add functionalities without writing code. You can also call Ruby on Rails gems as plugins for adding features. There are RubyGems for almost everything – from authentication to payment gateway processing.
For Ruby on Rails gems, an interface is a command-line tool termed gem which can install and administer the libraries.The gems incorporates a Ruby runtime loader to assist in finding and loading installed gems from uniform library folders.
Ruby on Rails is a popular web development technology. It is simple, efficient, and often termed as the “startup technology.” Over 3.7 million web apps use Ruby on Rails. However, what makes rapid prototyping possible are the Ruby on Rails gems. They drastically reduce the time taken to code.
This Ruby Gem for Ruby on Rails is used to insert bulk records. It is one of the leading gems in the list of RoR gems that generates minimal SQL insert statements. It helps in eliminating the N+1 insert problem. As one of the top Rubygems, the best practice is to insert up to 10 records with ActiveRecord.
The surveyor gem is quite powerful and I can recommend it. There is one thing that you should note: you write the survey in a dsl (ruby file with special, easy to understand syntax) and then run a rake task. This means that it's very useful for a one-off survey, where a developer can generate it (much easier and faster than doing it manually), but not if you want a non-technical person to generate surveys on her own.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With