runtimerevolution / survey

Survey is a Rails Engine that brings quizzes, surveys and contests into your Rails application.
MIT License
265 stars 127 forks source link

rails generate survey rails_admin exception #28

Open b3ccio opened 9 years ago

b3ccio commented 9 years ago

Hello,

When I try to run the rails generate for RailsAdmin I'm getting this exception. I'm trying to add this to an existing site. Rails 4.2.2.

/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/survey-0.2/lib/generators/survey/survey_generator.rb:87:in `get_scope': undefined method `split' for nil:NilClass (NoMethodError)

Thanks

alex-quiterio commented 9 years ago

Hi @paulbeccio,

We'll look at it. Thanks for reporting the issue.

stephenjlovell commented 9 years ago

Am also seeing this issue with the RailsAdmin generator on Rails 4.2.3

donaldding commented 8 years ago

same problem with rails_admin 0.8.1