Project

fdbq-rails

0.0
No release in over 3 years
Low commit activity in last 3 years
Fdbq::Rails. A Rails integration for Fdbq JS plugin.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 3, ~> 6.0.2
 Project Readme

Fdbq::Rails

A Rails integration of @softserveopensource/fdbq with an ORM recording of submits.

Installation

Terminal

gem install fdbq-rails

Gemfile

gem 'fdbq-rails'

Rails

Generate configuration files

  • rails g fdbq:rails:install

Mount into your application

  • update config/routes.rb with mount Fdbq::Rails::Engine, at: '<your path>'

Update configuration for fton-end

  • update config/fdbq.yml configuration file

Usage

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. or
  • Fdbq::Feedback.all to query directly thru ActiveRecord model.

Contributing

  • fork it
  • commit
  • submit PR

TODO

  • Add MongoDB support

License

The gem is available as open source under the terms of the MIT License.