jsboulanger / feedback Goto Github PK
View Code? Open in Web Editor NEWFeedback is a Rails plugin that adds to your app an ajax-based feedback form triggered by a sticky tab.
License: MIT License
Feedback is a Rails plugin that adds to your app an ajax-based feedback form triggered by a sticky tab.
License: MIT License
Hi, I'm a noob running Ruby 2.3 on Rails 4 and Ubuntu 14. When I follow the install directions from the readme I get the following error. What am I doing wrong?
$ rails generate feedback_form --skip-jquery
[WARNING] Could not load generator "generators/feedback_form_generator". Error: uninitialized constant Rails::Generator.
/home/ubuntu/workspace/lib/generators/lib/insert_routes.rb:3:in `<top (required)>'
/home/ubuntu/workspace/lib/generators/feedback_form_generator.rb:1:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:332:in `block (2 levels) in lookup'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:328:in `each'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:328:in `block in lookup'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:327:in `each'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:327:in `lookup'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:138:in `find_by_namespace'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:155:in `invoke'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/generate.rb:13:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:130:in `generate_or_destroy'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:50:in `generate'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Could not find generator 'feedback_form'. Maybe you meant 'generator', 'erb:scaffold' or 'resource_route'
Run `rails generate --help` for more options.
The feedback modal renders correctly if I manually make do: input type="text" name="email" /> but <%= f.text_field 'email' %> raises the error below. Is this a Rails 4 limitation? I think I found the documentation for the FormBuilder.text_field method, but maybe I'm not reading it right and something needs to change...
ActionView::Template::Error (undefined method '[]' for nil:NilClass):
17: <%= f.label 'email' %>
18: <%= f.text_field 'email' %>
19: <!--<input type="text" name="email" />-->
app/views/feedbacks/new.html.erb:18:in 'block in _app_views_feedbacks_new_html_erb___3943314167409289596_2190560080'
app/views/feedbacks/new.html.erb:5:in `_app_views_feedbacks_new_html_erb___3943314167409289596_2190560080'
any chance of this working for rails 3 and bundler ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.