Fix active model integration with Rails 3.2, eager access to attributes method and method-defined check
Merge pull request #18 from TheReincarnator/rails3.2

Make couchmodel work with Rails 3.2