forked from mongomapper/mongomapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
55 lines (37 loc) · 1.75 KB
/
ChangeLog
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
0.12.0 - 2012-09-12
* Identity map is now more opt-in. Middleware turns it on, but it stays off for background jobs and such without explicit intervention.
* Update to latest version of plucky
* Rails 3.2 support
* Support new mongo hosts option format
* A few bug fixes
0.11.1 - 2012-03-30
Enhancements:
* Add ActiveRecord-style #touch to documents and associations
* Add options to atomic modifiers that are passed to the driver
Page.increment({:title => "Hello World"}, {:comment_count => 1}, {:upsert => true})
Bug Fixes:
* Stop raising error if MongoMapper.database is nil
* Delegate :distinct, :size, :reverse, :offset, :order, :empty?, :filter,
:find_one, :per_page, :ignore, :only, and :to_a on Document to query
* Fix for EmbeddedDocument#inspect [#373]
* Ensure milliseconds are preserved with time values [#308]
* Allow MongoMapper.setup to accept a symbol for the environment name
https://github.com/jnunemaker/mongomapper/compare/v0.11.0...v0.11.1
0.11.0 - 2012-01-26
Enhancements:
* Adds support for has_one polymorphic embedded associations
* Adds namespacing to model generator
* Adds :context option to validates_associated
many :things
validates_associated :things, :context => :custom_context
* Adds ActiveRecord-compatible association reflection
* Adds support for setting mongo connection options in mongo.yml
production:
uri: <%= ENV['MONGOHQ_URL'] %>
options:
safe: true
* Adds #timestamps! to embedded documents
Bug Fixes
* #update_attribute now ignores attr_accessible and attr_protected
* Fix deprecation warnings in Rails 3.2
https://github.com/jnunemaker/mongomapper/compare/v0.10.1...v0.11.0