Fix Rspec test - Need the id to make the compare other than that couchrest_model will use the hash and both objects has only the user_name the same.
Merge branch 'quoin_rails_4.0_upgrade' into rails_4.0_upgrade
Change to the original port, make commit by mistake.
couchrest_model use just 'prefix' and 'suffix'.
There is no 'on' method anymore.
Setting dirty flag when assigning flat dynamic attributes.
New unit tests for dirty dynamic attributes monkeypatch.
An extra test case for dynamic attribute setting marked as dirty. Aknowledging the solution is a hack.
Merge pull request #6 from cchavez/rails_4.0_upgrade

Rails 4.0 upgrade
Merge pull request #8 from pnabutovsky/rails_4.0_upgrade

Setting dirty flag for top-level dynamic attributes
Merge branch 'quoin_rails_4.0_upgrade' into rails_4.0_upgrade
CouchRest::Document drop the inherit from Hash, refactoring the code to update properties.
Remove debug method.
Merge pull request #9 from cchavez/rails_4.0_upgrade

Rails 4.0 upgrade
Merge branch 'rails_4.0_upgrade' of github.com:Quoin/RapidFTR into rails_4.0_upgrade
Fixed custom field validators - child spec/model/lib class