Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (23 sloc) 1.854 kb
1471fbd @bkeepers Document change to update_attribute
bkeepers authored
1 0.10 => 0.11
2 * #update_attribute now ignores attr_accessible and attr_protected
3
fbc3fda @bkeepers Prepare for 0.10 release
bkeepers authored
4 0.9 => 0.10
4cb33d0 @bkeepers Add note about string IDs
bkeepers authored
5 * Using String IDs are no longer supported. If you are declaring your own ID, ensure it is an ObjectId, and set the default
6 key :_id, ObjectId, :default => lambda { BSON::ObjectId.new }
6caa8a6 @brianhempel :dependent specifies behavior for parent destruction _and_ association r...
brianhempel authored
7 * The :dependent association option now applies to both when the parent is destroyed and when the association is reassigned (one and many associations)
8 * 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
9
5073f8e @bkeepers Update UPGRADES
bkeepers authored
10 0.8.6 => 0.9
c9d55c9 @bryckbost Fix rails compatability with type casts.
bryckbost authored
11 * [attribute]_before_typecast should become [attribute]_before_type_cast (note the extra _)
bf9bd1e @bryckbost Updating validates_exclusion_of to ActiveModel.
bryckbost authored
12 * Change validates_exclusion_of :within option to :in
7652a50 @bryckbost Updating validates_inclusion_of to ActiveModel.
bryckbost authored
13 * Change validates_inclusion_of :within option to :in
925b5ba @bryckbost Use ActiveSupport DescendantsTracker
bryckbost authored
14 * descendants now returns all descendants use direct_descendants for just children
15 * Switch validate_on_create and validate_on_update use validate :on => :create syntax
6b2850c @bryckbost Update upgrades
bryckbost authored
16 * Added #update_attribute
5073f8e @bkeepers Update UPGRADES
bkeepers authored
17 * 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.
18 * Plugins should now extend ActiveSupport::Concern
c9d55c9 @bryckbost Fix rails compatability with type casts.
bryckbost authored
19
9d885fc @jnunemaker Swapping a bunch of association stuff out with plucky.
jnunemaker authored
20 0.7.6 => 0.8
0374cdb @jnunemaker Added UPGRADES file. I'll document backwards incompatible changes in thi...
jnunemaker authored
21 * Proxy#owner has been removed in favor of Proxy#proxy_owner
22 * @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
23 * 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 stuff...
jnunemaker authored
24 * 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 that a...
jnunemaker authored
25 * MongoMapper::MongoMapperError is now MongoMapper::Error
26 * metaclass, meta_eval, meta_def, class_def removed as they were not being used
Something went wrong with that request. Please try again.