Commit graph

13 commits

Author SHA1 Message Date
Peter Williams
c9d2611bb7 Support providing an initialization block when creating new models 2011-05-11 13:53:28 -06:00
Sam Lown
1bced3b207 Merge branch 'master' of https://github.com/2moro/couchrest_model into 2moro-dirty
Conflicts:
	.gitignore
	lib/couchrest/model/base.rb
	lib/couchrest/model/configuration.rb
	lib/couchrest_model.rb
2011-04-20 10:47:36 +02:00
Sam Lown
5805f6e27b Refactoring design doc manipulation for a much simpler and more reliable approach 2011-04-17 02:46:33 +02:00
Sam Lown
da93fda815 Working on getting tests to work for new design doc checkcodes 2011-04-13 19:04:09 +02:00
Andrew Williams
4dbf694e51 now using ActiveModel::Dirty. only writes to database if model.changed? 2011-03-01 01:30:41 +10:30
Sam Lown
a78e3b74d6 Adding support for proxying and more refinements to views 2011-02-09 21:21:03 +01:00
Greg Sterndale
b5a2307a95 Make deep clone of default property values 2011-01-18 08:13:05 -05:00
Sam Lown
85cd1308bc Adding configuration support and changing 'couchrest-type' key to 'model' along with config options 2010-09-17 23:00:55 +02:00
Sam Lown
51918548b1 Finalizing move to rspec 2.0.0 (rake wasn't working) 2010-08-18 20:00:03 +02:00
Sam Lown
8337bab714 Fixing uniqueness proxy error + more in README 2010-06-21 22:37:13 +02:00
Sam Lown
d138ebc05f Testing model name 2010-06-21 14:13:19 +02:00
Sam Lown
188fd0d4de Fixing ActiveModel special calls 2010-06-21 13:58:19 +02:00
Sam Lown
c280b3a29b Renaming to CouchRest Model
Refactored basic directory structure.
Moved to ActiveSupport for Validations and Callbacks.
Cleaned up older code, and removed support for text property types.
2010-06-20 22:01:11 +02:00