Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 41 lines (30 sloc) 1.383 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
1.1.1
  - Rails 3.1.0.rc4 compatibility

1.1.0
  - Rails 3.0 compatibility

1.0.8
  - Fix Rakefile so it loads even without rspec
  - Optimize setting attributes for classes that don't support dup
  - Compatibility with Rails 3.0
  - Use BigDecimal instead of Float for better accurracy (thanks to aliix)

1.0.7
  - Added attributes= to EmbeddedDocument for mass attribute assignment
  - Changed deserialized Json values to go through setter methods instead of being directly set

1.0.6
  - Allow EmbeddedDocument.new to call all accessors and not just those defined in the JSON schema.
  - Allow getting and setting json attributes with [] and []=

1.0.5
  - Fixed bug with initializing new EmbeddedDocumentArray with the proper parent when there is no data to deserialize.

1.0.4
  - Fixed bug with tracking changes when initializing an EmbeddedDocument.
  - Removed tracking changes of keys that are EmbeddedDocuments

1.0.3
  - Added before and after validation callbacks on EmbeddedDocument
  - Fixed bug where fields couldn't be set to false

1.0.2
  - Changed EmbeddedDocument to be a module instead of a class to fix inheritance problem with validations
  - Remove key and many methods from EmbeddedDocument in favor of always calling the schema

1.0.1
  - Fixed bug where embedded documents couldn't reference the schema until a field was defined

1.0.0
  - Initial release
Something went wrong with that request. Please try again.