couchrest_model/lib/couchrest
Simone Carletti f76517d0fa Narrow the rescued exception to avoid catching class evaluation errors that has nothing to to with the association.
Example:

    /Users/weppos/.rvm/gems/ruby-1.8.7-p330/gems/couchrest_model-1.0.0/lib/couchrest/model/associations.rb:29:in `belongs_to': Unable to convert class name into Constant for Document#dossier (RuntimeError)

although the real error is

    /Users/weppos/Projects/working/.../app/models/user.rb:56: undefined method `validates_uniqueness_of' for User:Class (NoMethodError)
2011-02-24 23:38:39 -03:00
..
model Narrow the rescued exception to avoid catching class evaluation errors that has nothing to to with the association. 2011-02-24 23:38:39 -03:00
model.rb set the CouchRest::Model::VERSION constant to the value of the VERSION file 2011-01-16 13:57:26 -05:00
railtie.rb Modifying railtie to use couchrest_model name 2010-11-19 01:03:40 +01:00