couchrest_model/lib
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
..
couchrest 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
rails/generators Adding model generator 2010-08-23 20:29:34 -03:00
couchrest_model.rb Changing loading orders to avoid builder dependency issue 2011-01-17 02:45:41 +01:00