Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 10, 2010

  1. John Nunemaker

    Regenerated gemspec for version 0.7.0

    authored February 10, 2010
  2. John Nunemaker

    Version bump to 0.7.0

    authored February 10, 2010
  3. John Nunemaker

    Moved some things around and autoloaded some stuff.

    authored February 09, 2010
  4. John Nunemaker

    I really don't like reflection. Switched back to association which fe…

    …els way more obvious to me.
    authored February 09, 2010
  5. John Nunemaker

    Minor: refactoring association base a bit.

    authored February 09, 2010
  6. John Nunemaker

    Minor: refactoring query.

    authored February 09, 2010

Feb 09, 2010

  1. John Nunemaker

    Renamed FinderOptions to Query. Makes more sense.

    authored February 09, 2010
  2. John Nunemaker

    Added all query modifier. Refactored finder options and symbol operat…

    …ors. Also, fixed normalizing value when using symbol operators.
    authored February 09, 2010
  3. John Nunemaker

    Indexes are once again created when model is loaded instead of storin…

    …g them up and creating using MongoMapper.ensure_indexes!.
    
    Removed all the MM.ensure_index and ensure_indexes! methods as they are no longer needed.
    If you were using those, update to ensure_index on the model or :index => true on the key.
    authored February 09, 2010
  4. John Nunemaker

    Adding first round of convenience methods for connecting from Rails. …

    …Can now be something like this:
    
      MongoMapper.setup(YAML.load(Rails.root.join('config', 'database.yml')), Rails.env, {
        :logger    => Rails.logger),
        :passenger => true,
      })
    
    Instead of the much more verbose:
    
      config = YAML.load_file(Rails.root + 'config' + 'database.yml')[Rails.env]
    
      MongoMapper.connection = Mongo::Connection.new(config['host'], config['port'], :logger => Rails.logger)
      MongoMapper.database = config['database']
    
      if config['username'].present?
        MongoMapper.database.authenticate(config['username'], config['password'])
      end
    
      if defined?(PhusionPassenger)
        PhusionPassenger.on_event(:starting_worker_process) do |forked|
          MongoMapper.connection.connect_to_master if forked
        end
      end
    authored February 09, 2010

Feb 05, 2010

  1. John Nunemaker

    Updated readme with info on switch to PT for issues.

    authored February 04, 2010

Feb 04, 2010

  1. John Nunemaker

    Minor: changed order for aesthetic.

    authored February 04, 2010
  2. John Nunemaker

    Some house cleaning. Reorganized stuff a bit.

    authored February 04, 2010
  3. John Nunemaker

    Minor: removed unnecessary self

    authored February 04, 2010
  4. John Nunemaker

    Renamed first, last, all exception method.

    authored February 04, 2010
  5. John Nunemaker

    Renamed find_or_create to first_or_create which is more accurate. Add…

    …ed first_or_new. Tweaked destroy_all to use find_each.
    authored February 04, 2010
  6. John Nunemaker

    Protected attributes works with initialization. Fixes #177.

    authored February 04, 2010
  7. John Nunemaker

    Moved update attributes to from doc and edoc to keys plugin since the…

    …y are identical.
    authored February 03, 2010
  8. John Nunemaker

    Private change: Renamed assign_root_document to assign_references as …

    …it has more than one responsibility now.
    authored February 03, 2010

Jan 29, 2010

  1. John Nunemaker

    Minor tweaks to identity map tests.

    authored January 29, 2010

Jan 28, 2010

  1. John Nunemaker

    Updated to mongo 0.18.3. Overwrote Mongo::ObjectID#to_json to be more…

    … friendly for most people and aliased ruby driver to original_to_json.
    authored January 28, 2010
  2. John Nunemaker

    Added :protected shortcut to key definition. Also added tests to make…

    … sure the SCI works fine with protected attributes.
    authored January 28, 2010
  3. John Nunemaker

    Rearranged embedded doc unit test to cleanup after itself.

    authored January 28, 2010
  4. John Nunemaker

    Cleaned up protected attributes plugin and added tests for embedded d…

    …ocs.
    authored January 28, 2010
  5. Steve Sloan

    Added protected attribute plugin.

    authored January 13, 2010 jnunemaker committed January 29, 2010
  6. John Nunemaker

    Merge branch 'master' of github.com:jnunemaker/mongomapper

    authored January 28, 2010
  7. Garry Hill

    renamed _owner to _parent_document

    authored January 15, 2010 jnunemaker committed January 29, 2010
  8. Garry Hill

    added 'embedded_in' call to declare and define relationship to owning…

    … document
    authored January 12, 2010 jnunemaker committed January 29, 2010
  9. Garry Hill

    added back link to _owner for embedded docs

    authored January 12, 2010 jnunemaker committed January 29, 2010
  10. John Nunemaker

    Merge branch 'master' of github.com:jnunemaker/mongomapper

    authored January 28, 2010
  11. Chris Hanks

    Add key validation shortcut :not_in.

    authored January 24, 2010 jnunemaker committed January 29, 2010
  12. Chris Hanks

    Change key validation shortcut :within to :in, and add test to ensure…

    … it works on embedded documents.
    authored January 24, 2010 jnunemaker committed January 29, 2010
  13. Chris Hanks

    Add :within shortcut on key definition for validates_inclusion_of.

    authored January 15, 2010 jnunemaker committed January 29, 2010
  14. John Nunemaker

    Added Document#find_or_create.

    authored January 28, 2010

Jan 24, 2010

  1. John Nunemaker

    save! now takes options so you can pass safe in. Might switch the ! m…

    …ethods (create!, save! etc.) to just have :safe on by default. Fixes #166.
    authored January 24, 2010
Something went wrong with that request. Please try again.