Feedbacker provides a tab for users to contact developers from within the application
Feedbacker assumes that you're using...
- At least Rails 3.1.3
- The Rails Asset Pipeline
- Jquery
- and probably some other things that we've failed to mention.
-
Add the following to your Gemfile.
gem :feedbacker
-
Run
bundle install
-
Add the following line to your application layout.
<%= javascript_include_tag :feedbacker %>
-
Add the following line to your application layout before you call application.css. Override default settings in application.css.
<%= stylesheet_link_tag :feedbacker %>
-
Add the following line at at appropriate position in your application layout.
<%= render(:partial => 'feedbacker/tab') unless current_user.is_guest? %>
-
Add the folllowing line to config/application.rb.
config.paths['db/migrate'] = Feedbacker::Engine.paths['db/migrate'].existent
-
Run
rake db:migrate
to add remarks table. -
Create feedbacker.rb in config/initializers and add the following line.
Feedbacker::EMAIL_TO = 'support@yourdomain.com'
-
(Optional) You may also add either or both of the following lines and edit to taste. Defaults are shown.
Feedbacker::RemarkMethods::USER_NAME_METHOD = :first_last Feedbacker::EMAIL_PREFIX = '[FEEDBACKER]'
Copyright (c) 2009 WWIDEA, Inc. released under the MIT license
If have improvements to contribute to this gem, please feel free to fork, commit with tests (if applicable), and then send a pull request. Thank You!