Code like the following worked fine under Rails 2.0.2 but now throws an
exception under Rails 2.1.0. Has anyone else had this issue?
class BugTest < ActiveRecord::Base
Here’s the exception…
NoMethodError: You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.include?