A Rails integration of @softserveopensource/fdbq with an ORM recording of submits.
gem install fdbq-rails
gem 'fdbq-rails'
Generate configuration files
rails g fdbq:rails:install
Mount into your application
- update
config/routes.rb
withmount Fdbq::Rails::Engine, at: '<your path>'
Update configuration for fton-end
- update
config/fdbq.yml
configuration file
Aadd to your layout or view plugin
fdbq_render
To fetch list of submitted responses use
fdbq_responses
helper that works within controller, helper or view. orFdbq::Feedback.all
to query directly thru ActiveRecord model.
- fork it
- commit
- submit PR
- Add MongoDB support
The gem is available as open source under the terms of the MIT License.