Commit graph

81 commits

Author SHA1 Message Date
Sam Lown 2cc119b3b3 Fixing issues with dirty tracking on nested models and related improvements 2011-04-20 16:44:49 +02:00
Sam Lown b3e8fbadc6 Refinements to dirty tracking so always enabled unless loading from the database 2011-04-20 12:31:46 +02:00
Sam Lown bc4c8719d0 Setting default model type name to 'model' 2011-04-18 22:29:25 +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 2eed3581af Adding support for start and end key swapping with descending 2011-04-15 19:24:06 +02:00
Sam Lown 00a4cc7f3b Finalizing support for including hash codes in Design documents 2011-04-14 00:19:10 +02:00
Sam Lown a6becd7305 Fixing issues with Ruby 1.8.7 2011-04-08 22:34:25 +02:00
Sam Lown 33b844b596 History update 2011-04-08 15:42:30 +02:00
Sam Lown 1d37f12982 Adding support for scopes on unique validation 2011-04-08 14:36:29 +02:00
Sam Lown 760d855845 Fixing and testing proxyable with associations and validation 2011-04-05 20:41:24 +02:00
Sam Lown 38257f4909 Time handling improved to ensure UTC always used 2011-04-01 19:45:13 +02:00
Sam Lown 0e51dcfb9a Merge branch 'master' of github.com:couchrest/couchrest_model
Conflicts:
	history.txt
2011-03-13 19:53:52 +01:00
Sam Lown 9e1f4282f6 Demoting collection support, using latest couchrest, ensuring reduce always included when needed 2011-03-13 19:34:25 +01:00
Marcos Tapajós a37ca4c37b Updating Readme 2011-03-01 22:54:16 -03:00
Sam Lown f58482553c Merge branch 'master' of github.com:couchrest/couchrest_model into adv_design 2011-02-27 20:19:09 +01:00
Marcos Tapajós 53b052f631 Update History 2011-02-25 00:05:32 -03:00
Sam Lown e8959883a9 Improving documentation, VERSION increase 2011-02-09 22:45:30 +01:00
Sam Lown 1019a44d26 Anonymous casted model properties no longer require block parameter 2011-02-05 22:38:22 +01:00
Marcos Tapajós 5c6e807c5b Remove from beta 2011-01-16 22:48:31 -02:00
Sam Lown e1d140d8ae Fixing the database in view bug 2010-12-02 01:53:45 +01:00
Sam Lown e8d7af9896 Handling cases when , used instead of . more elegantly 2010-10-23 20:59:24 +02:00
Sam Lown ef6f54d966 history update 2010-10-22 15:46:07 +02:00
Sam Lown 9419622c13 updating history 2010-10-22 15:42:48 +02:00
Sam Lown 1d1d815435 Adding support for mass_assign_any_attribute config option and refactoring non-api methods into private areas of modules 2010-09-18 15:19:15 +02: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 5c21de8586 Fixing find(blank) issue 2010-09-05 20:06:44 +02:00
Sam Lown c32992c21b Merge branch 'master' of git://github.com/tapajos/couchrest_model
Conflicts:
	Rakefile
	couchrest_model.gemspec
	history.txt
	lib/couchrest_model.rb
	spec/couchrest/attribute_protection_spec.rb
2010-08-24 11:45:37 +02:00
Marcos Tapajós bb667459a8 Adding model generator 2010-08-23 20:29:34 -03:00
Will Leinweber 49c9656fe3 Allow mixing of protected and accessible properties.
Any unspecified properties are now assumed to be protected by default

Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
2010-08-23 19:59:25 -03:00
Sam Lown dad386d8c9 Fixing time parsing issue for times without zone 2010-08-18 19:36:01 +02:00
Will Leinweber aac6b80d26 Allow mixing of protected and accessible properties.
Any unspecified properties are now assumed to be protected by default
2010-08-11 17:42:14 -05:00
Sam Lown bf22222fd9 History for collection_of changes 2010-08-11 17:41:58 +02:00
Sam Lown c52f009270 Fixing typoo 2010-06-23 11:58:35 +02:00
Sam Lown 224c96e68a Doc update 2010-06-21 21:36:28 +02:00
Sam Lown da21fba4dd minor doc change 2010-06-21 14:18:05 +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
Sam Lown 1b89f1e1df Array Properties accept hash with ordered keys and raise error for anything else 2010-06-18 01:24:49 +02:00
Sam Lown dd55466764 adding support for collection_of association 2010-06-17 15:02:33 +02:00
Sam Lown a7a6b2f0ac adding initial support for belongs_to associations 2010-06-17 02:39:09 +02:00
Sam Lown 64e34ee2e8 adding missing history entry 2010-06-16 22:15:39 +02:00
Sam Lown e638db63c2 Adding more tests for new property class layout 2010-06-16 22:02:12 +02:00
Sam Lown 5d7fa3c198 updating history 2010-06-15 01:26:23 +02:00
Sam Lown 72fe43d64a Renaming versions in history 2010-06-11 02:03:52 +02:00
Sam Lown 406c2e6a01 Altering history 2010-06-07 14:04:43 +02:00
Sam Lown 89c45ebb87 Adding support for setting types with hash 2010-05-13 00:17:30 +02:00
Sam Lown b0d2258bd3 Improving handling of mime types, instanciation of documents from the
database, and more dependencies on active_support.
2010-05-12 23:43:17 +02:00
Sam Lown 303f0cd1cf Adding validation by default 2010-05-11 16:27:06 +02:00
Sam Lown 3894579304 Moving to own repo without the base couchrest 2010-05-10 21:19:24 +02:00
Marcos Tapajós e5cf39f809 bumped the version number to 0.37 2010-03-30 21:25:37 -03:00
Marcos Tapajós 5eb40e5fed Added gemspec (needed for Bundler install) 2010-03-30 21:01:09 -03:00