Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (21 sloc) 1.77 kb
4cb33d0 @bkeepers Add note about string IDs
bkeepers authored
1 0.9 => 1.0
2 * Using String IDs are no longer supported. If you are declaring your own ID, ensure it is an ObjectId, and set the default
3 key :_id, ObjectId, :default => lambda { BSON::ObjectId.new }
6caa8a6 @brianhempel :dependent specifies behavior for parent destruction _and_ associatio…
brianhempel authored
4 * The :dependent association option now applies to both when the parent is destroyed and when the association is reassigned (one and many associations)
5 * The default :dependent option is now :nullify for both when the parent is destroyed and when the association is reassigned
4cb33d0 @bkeepers Add note about string IDs
bkeepers authored
6
5073f8e @bkeepers Update UPGRADES
bkeepers authored
7 0.8.6 => 0.9
c9d55c9 @bryckbost Fix rails compatability with type casts.
bryckbost authored
8 * [attribute]_before_typecast should become [attribute]_before_type_cast (note the extra _)
bf9bd1e @bryckbost Updating validates_exclusion_of to ActiveModel.
bryckbost authored
9 * Change validates_exclusion_of :within option to :in
7652a50 @bryckbost Updating validates_inclusion_of to ActiveModel.
bryckbost authored
10 * Change validates_inclusion_of :within option to :in
925b5ba @bryckbost Use ActiveSupport DescendantsTracker
bryckbost authored
11 * descendants now returns all descendants use direct_descendants for just children
12 * Switch validate_on_create and validate_on_update use validate :on => :create syntax
6b2850c @bryckbost Update upgrades
bryckbost authored
13 * Added #update_attribute
5073f8e @bkeepers Update UPGRADES
bkeepers authored
14 * belongs_to and one associations now return a true nil instead of a proxy to nil, so you must now call .build_thing instead of thing.build.
15 * Plugins should now extend ActiveSupport::Concern
c9d55c9 @bryckbost Fix rails compatability with type casts.
bryckbost authored
16
9d885fc @jnunemaker Swapping a bunch of association stuff out with plucky.
jnunemaker authored
17 0.7.6 => 0.8
0374cdb @jnunemaker Added UPGRADES file. I'll document backwards incompatible changes in …
jnunemaker authored
18 * Proxy#owner has been removed in favor of Proxy#proxy_owner
19 * @new instance variable renamed to @_new (you shouldn't be using this anyway)
9d885fc @jnunemaker Swapping a bunch of association stuff out with plucky.
jnunemaker authored
20 * Removed undefining of object_id in proxies and equal? method in Equality. This means checking equal? for a proxy and a regular document will always be false even if proxy refers to same document. Check Proxy#target instead. (ie: root.equal?(item.root.target))
3d5afff @jnunemaker Renamed MongoMapperError to just Error. Moved some other exception st…
jnunemaker authored
21 * find no longer takes options as a last argument. It only works with id, multiple ids, array of ids.
0722b16 @jnunemaker Removing why's metaid object stuff and switching to new standards tha…
jnunemaker authored
22 * MongoMapper::MongoMapperError is now MongoMapper::Error
23 * metaclass, meta_eval, meta_def, class_def removed as they were not being used
Something went wrong with that request. Please try again.