Skip to content
Commits on Mar 5, 2012
  1. @durran

    Update to 2.4.6

    durran committed Mar 5, 2012
Commits on Feb 29, 2012
  1. @durran
Commits on Feb 28, 2012
  1. @durran

    Update changelog

    durran committed Feb 28, 2012
  2. @byroot @durran

    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'
    byroot committed with durran Feb 28, 2012
  3. @durran
  4. @i0rek @durran

    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.
    i0rek committed with durran Feb 8, 2012
Commits on Feb 26, 2012
  1. @durran
Commits on Feb 25, 2012
  1. @durran
Commits on Feb 24, 2012
  1. @durran
  2. @durran
Commits on Feb 23, 2012
  1. @durran

    Merge pull request #1755 from Flameeyes/2.4.0-stable

    Add one missing replacement of localhost vs envvar
    durran committed Feb 22, 2012
Commits on Feb 22, 2012
  1. @Flameeyes
  2. @durran
  3. @durran

    Update changelog

    durran committed Feb 22, 2012
  4. @durran

    Sort for localized fields, too.

    Fixes #1744.
    durran committed Feb 22, 2012
  5. @durran
  6. @durran

    Update changelog

    durran committed Feb 22, 2012
  7. @durran

    Merge pull request #1747 from shingara/issue-1746

    add information about which locale is blank in validate_presence_of on localize field
    durran committed Feb 22, 2012
  8. @shingara
Commits on Feb 18, 2012
  1. @durran

    Add support for embeds_many when querying Enumerable:

    - Add some tests, use duck typing
    - Prefer array check of exceptions as control flow
    durran committed Feb 18, 2012
Commits on Feb 16, 2012
  1. @durran
Commits on Feb 15, 2012
  1. @durran
Commits on Feb 14, 2012
  1. @durran
  2. @blt04 @durran
Commits on Feb 13, 2012
  1. @durran
  2. @robinst @durran

    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.
    robinst committed with durran Feb 12, 2012
  3. @durran

    Mark start of 2.4.5 dev

    durran committed Feb 13, 2012
  4. @durran
  5. @durran
  6. @durran

    Flag 2.4.4

    durran committed Feb 13, 2012
Commits on Feb 11, 2012
  1. @durran
  2. @durran

    Fix 1.8 syntax errors

    durran committed Feb 11, 2012
  3. @lucasas @durran

    Versioning updated_at attribute:

    - Generate a new document version unless the changed attributes
      include only updated_at
    lucasas committed with durran Feb 10, 2012
Commits on Feb 9, 2012
  1. @durran
  2. @durran

    Add passing spec for #1689.

    durran committed Feb 9, 2012
Something went wrong with that request. Please try again.