NoMethodError: undefined method `count' for Array

Thursday, 26 November 2009

NoMethodError: undefined method `count' for #<Array:0x9c0e3e8>

Getting this error like this when you deploy your Ruby on Rails app to a production server?

You probably need to upgrade the server to Ruby 1.8.7 like me :) Doh! Luckily moonshine has it covered for this one, I just had to switch from using ree to ree187 in my moonshine.yml file.

blog comments powered by Disqus