flyerhzm/rails_best_practices — Issue #80: undefined method `upcase' for :resources:Symbol (NoMethodError)
Author: vrinek
Created: 2011-11-21 14:47:46+00:00
State: open

ruby **1.8.7** (2011-06-30 patchlevel 352) [x86_64-linux]
ripper **1.0.5**
rails_best_practices **1.4.0**

The trace:

/home/kostas/.rvm/gems/ruby-1.8.7-p352/gems/rails_best_practices-1.4.0/lib/rails_best_practices/prepares/route_prepare.rb:91: undefined method `upcase' for :resources:Symbol (NoMethodError)
from /home/kostas/.rvm/gems/ruby-1.8.7-p352/gems/rails_best_practices-1.4.0/lib/rails_best_practices/prepares/route_prepare.rb:78:in `each'
from /home/kostas/.rvm/gems/ruby-1.8.7-p352/gems/rails_best_practices-1.4.0/lib/rails_best_practices/prepares/route_prepare.rb:78
from /home/kostas/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/kostas/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/kostas/.rvm/gems/ruby-1.8.7-p352/gems/rails_best_practices-1.4.0/lib/rails_best_practices/prepares.rb:6
from /home/kostas/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/kostas/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/kostas/.rvm/gems/ruby-1.8.7-p352/gems/rails_best_practices-1.4.0/lib/rails_best_practices.rb:29
from /home/kostas/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/kostas/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/kostas/.rvm/gems/ruby-1.8.7-p352/gems/rails_best_practices-1.4.0/bin/rails_best_practices:5
from /home/kostas/.rvm/gems/ruby-1.8.7-p352/bin/rails_best_practices:19:in `load'
from /home/kostas/.rvm/gems/ruby-1.8.7-p352/bin/rails_best_practices:19