Skip to content
This repository
tag: v2.4.6

Mar 05, 2012

  1. Durran Jordan

    Update to 2.4.6

    authored March 05, 2012

Feb 29, 2012

  1. Durran Jordan

    Fixing certain spec breakages with regards to generators

    authored February 29, 2012

Feb 28, 2012

  1. Durran Jordan

    Update changelog

    authored February 28, 2012
  2. Jean Boussier

    Cast #limit() and #skip() arguments as Integer

    To avoid raising ArgumentError deep inside Mongo's driver:
    `MyModel.limit("2").to_a` =>
    
    mongo-1.5.2/lib/mongo/cursor.rb:272:in `>'
    mongo-1.5.2/lib/mongo/cursor.rb:272:in `batch_size'
    mongo-1.5.2/lib/mongo/cursor.rb:80:in `initialize'
    mongo-1.5.2/lib/mongo/collection.rb:236:in `new'
    mongo-1.5.2/lib/mongo/collection.rb:236:in `find'
    mongoid-2.4.4/lib/mongoid/collections/master.rb:25:in `block in find'
    mongoid-2.4.4/lib/mongoid/collections/retry.rb:29:in `retry_on_connection_failure'
    mongoid-2.4.4/lib/mongoid/collections/master.rb:24:in `find'
    mongoid-2.4.4/lib/mongoid/collection.rb:42:in `find'
    mongoid-2.4.4/lib/mongoid/contexts/mongo.rb:175:in `block in execute'
    mongoid-2.4.4/lib/mongoid/contexts/mongo.rb:478:in `selecting'
    mongoid-2.4.4/lib/mongoid/contexts/mongo.rb:169:in `execute'
    mongoid-2.4.4/lib/mongoid/contexts/mongo.rb:261:in `iterate'
    mongoid-2.4.4/lib/mongoid/criteria.rb:145:in `block in each'
    mongoid-2.4.4/lib/mongoid/criteria.rb:145:in `tap'
    mongoid-2.4.4/lib/mongoid/criteria.rb:145:in `each'
    authored February 28, 2012 durran committed February 28, 2012
  3. Durran Jordan

    Update changelog after cherry pick for update_attributes. Closes #1767.

    authored February 28, 2012
  4. Hans Hasselberg

    Document#update_attributes accepts additional options hash.

    In Rails >3.1.0 updates_attributes accepts an additional options hash
    so we do, too. Its used for mass assignment security.
    authored February 08, 2012 durran committed February 28, 2012

Feb 26, 2012

  1. Durran Jordan

    Convert localized fields in any_of criterion. Fixes #1762

    authored February 26, 2012

Feb 25, 2012

  1. Durran Jordan

    Metadata#options returns self. Fixes #1758

    authored February 25, 2012

Feb 24, 2012

  1. Durran Jordan

    Ensure serialization passes options through to embedded docs. Fixes #…

    authored February 24, 2012
  2. Durran Jordan

    Fix json serialization of attributes that need conversion. Fixes #1757.

    authored February 24, 2012

Feb 23, 2012

  1. Durran Jordan

    Merge pull request #1755 from Flameeyes/2.4.0-stable

    Add one missing replacement of localhost vs envvar
    authored February 22, 2012

Feb 22, 2012

  1. Diego Elio Pettenò

    Add one missing replacement of localhost vs envvar

    authored January 23, 2012
  2. Durran Jordan

    Mongoid's logger must respond to level. Fixes #1751.

    authored February 22, 2012
  3. Durran Jordan

    Update changelog

    authored February 22, 2012
  4. Durran Jordan

    Sort for localized fields, too.

    Fixes #1744.
    authored February 22, 2012
  5. Durran Jordan

    Fix 1.8 failure - hashes have no order

    authored February 22, 2012
  6. Durran Jordan

    Update changelog

    authored February 22, 2012
  7. Durran Jordan

    Merge pull request #1747 from shingara/issue-1746

    add information about which locale is blank in validate_presence_of on localize field
    authored February 22, 2012
  8. Cyril Mougel

    add information about which locale is blank in validate_presence_of o…

    …n localize field
    authored February 22, 2012

Feb 18, 2012

  1. Durran Jordan

    Add support for embeds_many when querying Enumerable:

    - Add some tests, use duck typing
    - Prefer array check of exceptions as control flow
    authored February 18, 2012

Feb 16, 2012

  1. Durran Jordan

    Don't call changed on children during initialize callbacks. Fixes #1723

    authored February 16, 2012

Feb 15, 2012

  1. Durran Jordan

    Fixing serialization after as_document changes

    authored February 15, 2012

Feb 14, 2012

  1. Durran Jordan

    Serializable has returns embedded documents pre and post save. Fixes #…

    authored February 14, 2012
  2. Brandon Turner

    Add embedded serialization without includes specs

    authored February 13, 2012 durran committed February 14, 2012

Feb 13, 2012

  1. Durran Jordan

    Fix === comparison between classes and instances of subclasses. Fixes #…

    authored February 13, 2012
  2. Robin Stocker

    Allow reordering of foreign keys even with pulls/pushes

    When there were pushes (or pulls) as well as elements being reordered,
    save would only push (or pull) elements. The changed order of the other
    elements were lost.
    
    With this change, checking is done to ensure that we only push when the
    new elements are at the end, and pull when the remaining element's order
    has not changed.
    authored February 12, 2012 durran committed February 13, 2012
  3. Durran Jordan

    Mark start of 2.4.5 dev

    authored February 13, 2012
  4. Durran Jordan

    rescue both name error and load error. Closes #1681.

    authored February 13, 2012
  5. Durran Jordan

    Fix super outside of method errors on broken 1.8.7 rubies. Closes #1495.

    authored February 13, 2012
  6. Durran Jordan

    Flag 2.4.4

    authored February 13, 2012

Feb 11, 2012

  1. Durran Jordan

    Allow reordering of many to many foreign keys. Fixes #1705.

    authored February 11, 2012
  2. Durran Jordan

    Fix 1.8 syntax errors

    authored February 11, 2012
  3. Lucas Souza

    Versioning updated_at attribute:

    - Generate a new document version unless the changed attributes
      include only updated_at
    authored February 10, 2012 durran committed February 11, 2012

Feb 09, 2012

  1. Durran Jordan

    Binding belongs to sets metadata on bind and unbind. Fixes #1686

    authored February 09, 2012
  2. Durran Jordan

    Add passing spec for #1689.

    authored February 09, 2012
Something went wrong with that request. Please try again.