Commit graph

25 commits

Author SHA1 Message Date
Sam Lown 8efa5208da Renaming casted model to embeddable and preparing for 1.1.0 launch@ 2011-06-25 19:24:43 +02:00
Sam Lown 3579e0e334 Refactoring tests and Validation callbacks 2011-06-09 01:05:22 +02:00
Sam Lown fba1e53e20 Overriding couchrest's database delete method to ensure design cache is deleted 2011-05-19 00:37:17 +02:00
Peter Williams 2b0dc2b779 Removed unneeded require 2011-05-06 13:32:49 -07:00
Sam Lown f3dd4ae06e Working on adding automated configuration support 2011-04-29 21:40:36 +02: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 221e5a5470 Working on adding checksum support to design documents to handle updates 2011-04-13 15:42:28 +02:00
Sam Lown 38257f4909 Time handling improved to ensure UTC always used 2011-04-01 19:45:13 +02:00
Andrew Williams dcf43e3641 some speed optimisations. added 'use_dirty' configuration variable 2011-03-03 17:58:57 +10:30
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
Sam Lown 800c2b322c Lots of advances on design view code, more testing required 2011-02-06 04:32:23 +01:00
Sam Lown dc28155aa3 Working on testing for design and view support 2011-02-06 02:52:09 +01:00
Sam Lown 938614ba40 Changing loading orders to avoid builder dependency issue 2011-01-17 02:45:41 +01:00
Matt Parker f7fe57ddaf removed the "gem <gem_name>, '<version_requirements>'" lines:
-- These were not in sync with the gemspec requirements (which probably also explains the gem's uninstallable state),
     and duplicated that functionality anyways.
2011-01-16 13:36:57 -05:00
Sam Lown d0ed97ed8b Renaming Attribute Protection and solving problem modifying the provided hash to the #attributes= method 2010-10-22 15:39:12 +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 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
Sam Lown 51918548b1 Finalizing move to rspec 2.0.0 (rake wasn't working) 2010-08-18 20:00:03 +02:00
Marcos Tapajós cdf6fcaa49 fix all gem requires 2010-07-01 22:39:54 -03: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