Changeset [08f580889afe388409a932b219eb9e818999eab6] by Ian White

August 19th, 2010 @ 12:00 PM

Mongoid adapter, fallback ORM adapter for those not using machinist or active_record, bugfixes

  • replace ActiveRecord 'factory' adapter with Orm adapter.

    If you don't have machinist or factory_girl, the Orm factory adapter will fallback to your Orm to create classes.

    BC: if you have a line like this:

    Pickle.configure do |config|
      config.adapters = [:active_record]
    You need to replace it with :orm
    Pickle.configure do |config|
      config.adapters = [:orm]

Committed by Ian White

  • M History.txt
  • M README.rdoc
  • M lib/pickle/adapter.rb
  • M lib/pickle/adapters/active_record.rb
  • M lib/pickle/adapters/data_mapper.rb
  • M lib/pickle/adapters/mongoid.rb
  • M lib/pickle/config.rb
  • M lib/pickle/world.rb
  • M spec/pickle/adapter_spec.rb
  • M spec/pickle/config_spec.rb
  • M spec/pickle/session_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Assign tickets to <b>Ian White</b>, so I get notified