Commit graph

57 commits

Author SHA1 Message Date
Will Leinweber d333133319 Adds suppport for ActiveModel::Dirty and ::AttributeMethods
* ActiveModel::Dirty
** Basic support for dirty tracking
** It does not bubble up any changes to casted models currently

* ActiveModel::AttributeMethods
** Attributes are now read and written through ActiveModel
** This also allows you to add your own attribute methods with
   prefix suffix and affix names. For more information check out
   ActiveModel::AttributeMethods::ClassMethods
2010-09-16 17:30:43 -05: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
Marcos Tapajós 54f3a11efd bumped the version number to 0.36 2010-03-30 20:33:17 -03:00
Will Leinweber 68ef916f4d update history 2010-03-16 16:10:25 -05:00
Will Leinweber 13d76d38de update history 2010-03-15 19:19:27 -05:00
Will Leinweber 6eed876784 update history, and add will to authors 2010-03-15 19:12:38 -05:00
Will Leinweber cc76921c0a update history 2010-03-10 19:05:24 -06:00
Marcos Tapajós 0d0a8ae6b8 bumped the version number to 0.35 2010-02-27 21:38:20 -03:00
Marcos Tapajós 67ee6e3e74 update history.txt 2010-02-27 19:06:24 -03:00
Marcos Tapajós 0c1da919a0 update history.txt 2010-02-27 18:47:42 -03:00
Marcos Tapajós 3724a33de6 update history.txt 2010-02-27 18:43:53 -03:00
Marcos Tapajós 17dac85a02 Changing CouchRest::ExtendedDocument to allow chaining the inherit class callback 2010-02-26 21:57:42 -03:00
Marcos Tapajós b1f4040a44 update history.txt 2010-02-26 21:02:18 -03:00
Will Leinweber f16e514d52 update history.txt 2010-02-26 17:27:24 -06:00
Will Leinweber 5707d89290 Update history.txt 2010-02-23 16:23:38 -06:00
Marcos Tapajós b147e2cfb1 updating history.txt 2010-02-03 14:10:31 -02:00
Marcos Tapajós d5b354367d updating the history 2010-01-29 22:20:39 -02:00
Marcos Tapajós 08f2a0446f update history 2010-01-13 21:48:15 -02:00
Marcos Tapajós 40de0c455d bumped the version number to 0.34 2010-01-13 21:40:55 -02:00
Marcos Tapajós b7209c258f updating history 2010-01-13 21:19:03 -02:00
Matt Aimonetti 6811745a32 bumped the version number to 0.33 2009-08-03 12:23:13 -07:00
Matt Aimonetti 0fc1a88ede updated the history file 2009-07-29 20:16:59 -07:00
Matt Aimonetti 0958be55f7 updated the history.txt file 2009-07-27 00:17:34 -07:00
Matt Aimonetti dd480bcd75 bumped version to 0.32 2009-07-22 16:54:28 -07:00
Matt Aimonetti a4254be8eb updated history.txt 2009-07-22 16:06:24 -07:00
Matt Aimonetti fc1ad2a07e updated history 2009-07-21 23:38:50 -07:00