rspec/rspec-rails — pull request #637 by xentek (2012-11-13 23:28:17+00:00)
Title: Check for ActiveRecord::Associations and not just ActiveRecord

I was getting an `ActiveRecord::Associations` constant not defined error. We use a slightly older version of Mongoid with Rails and don't have the full ActiveRecord gem loaded in our codebase. I couldn't run my specs because it was blowing up when trying to detect which Association Proxy class I was using after upgrading to RSpec 2.12

Let me know if you'd like this pull request resubmitted on a topic branch or if any other work needs to be done to bring this patch up to snuff.