{"issue":{"state":"open","created_at":"2011-11-20T15:35:42Z","updated_at":"2011-11-20T15:49:45Z","comments":2,"user":{"gravatar_id":"41d41809b077f2f9edd5bd4aecbe7d6f","id":495408,"url":"https://api.github.com/users/komba","login":"komba","avatar_url":"https://secure.gravatar.com/avatar/41d41809b077f2f9edd5bd4aecbe7d6f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Hello, I just used your gem and it's failing.\r\n\r\n```(eval):12:in `-': can't convert String into Array (TypeError)o                                         | ETA:  00:00:01\r\n\tfrom (eval):12:in `block in add_resources_routes'\r\n\tfrom (eval):3:in `each'\r\n\tfrom (eval):3:in `add_resources_routes'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/prepares/route_prepare.rb:23:in `start_command'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core/check.rb:48:in `node_start'\r\n\tfrom (eval):6:in `block in prepare'\r\n\tfrom (eval):4:in `each'\r\n\tfrom (eval):4:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom (eval):12:in `block in prepare'\r\n\tfrom (eval):10:in `each'\r\n\tfrom (eval):10:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core_ext/sexp.rb:9:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core/runner.rb:82:in `prepare'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/core/runner.rb:90:in `prepare_file'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:106:in `block in process'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:105:in `each'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:105:in `process'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:85:in `block in start'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:85:in `each'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:85:in `start'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/lib/rails_best_practices/command.rb:82:in `<top (required)>'\r\n\tfrom /home/komba/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'\r\n\tfrom /home/komba/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/gems/rails_best_practices-1.4.0/bin/rails_best_practices:6:in `<top (required)>'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/bin/rails_best_practices:19:in `load'\r\n\tfrom /home/komba/.rvm/gems/ruby-1.9.2-p290@ripper/bin/rails_best_practices:19:in `<main>'\r\n```","assignee":null,"id":2292787,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":78,"title":"Failing","closed_at":null,"html_url":"https://github.com/flyerhzm/rails_best_practices/issues/78","milestone":null,"url":"https://api.github.com/repos/flyerhzm/rails_best_practices/issues/78"},"action":"created","comment":{"created_at":"2011-11-20T15:49:44Z","updated_at":"2011-11-20T15:49:44Z","user":{"gravatar_id":"3f0627e2d004dd3131527c557892a84a","id":28310,"url":"https://api.github.com/users/leandromaioral","login":"leandromaioral","avatar_url":"https://secure.gravatar.com/avatar/3f0627e2d004dd3131527c557892a84a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"+1 (MRI 1.9.3-p0, Rails 3.1.2)","id":2804431,"url":"https://api.github.com/repos/flyerhzm/rails_best_practices/issues/comments/2804431"}}