Commit graph

10 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
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 dfd9dd0e73 Updating readme and using stable couchrest 1.0.0 for base 2010-08-11 17:35:15 +02:00
Sam Lown 3894579304 Moving to own repo without the base couchrest 2010-05-10 21:19:24 +02:00
Marcos Tapajós 5eb40e5fed Added gemspec (needed for Bundler install) 2010-03-30 21:01:09 -03:00
Marcos Tapajós 096a468381 change to use Jeweler and Gemcutter 2010-01-13 21:33:23 -02:00
Will Leinweber b5d09afef5 Adds attribute protection to properties
Public Facing
   * through either :protected or :accessible8 flags
   * prevents protected attributes from being set in mass assignment
 Developer Facing
   * refactors #initialize and #update_attribute_without_saving
       to use same private methods to set attributes on ExtendedDocument
   * adds new mixin to do protection

Signed-off-by: Tapajós <tapajos@gmail.com>
2009-10-31 09:56:58 -02:00
Jeremy Burks 7d3f9980d3 added gem task for easy local packaging 2008-10-26 10:03:59 -05:00
Chris Anderson c7fae2eca9 updated rake for rdoc 2008-09-11 22:21:16 -07:00
Geoffrey Grosenbach c5397a9b6b Use optparse for couchview. Implemented view generation option. 2008-09-11 13:29:12 -07:00