Commit graph

17 commits

Author SHA1 Message Date
Sam Lown 8025c5354f Ignore all gems 2011-04-27 13:11:15 +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 00a4cc7f3b Finalizing support for including hash codes in Design documents 2011-04-14 00:19:10 +02:00
Marcos Tapajós 498ebf1599 I'm using a shell script to run all specs in Ruby 1.9.2, MRI 1.8.7 and ree 1.8.7 and I need this change to help me. 2011-03-01 23:30:06 -03: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 24329d1f9c Adding Gemfile for development 2011-01-17 15:42:05 +01:00
Lucas Renan 04ad16a396 adding functionality to list properties with values 2010-11-10 22:33:46 -02:00
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