Permalink
Commits on Nov 19, 2009
Commits on Nov 8, 2009
  1. The 'rake db:drop' task now supports mysql

    Also changed the command that 'rake db:create'
    uses for mysql under the hood. The new command
    seems more simple.
    snusnu committed Nov 8, 2009
  2. Added missing .gitignore file

    snusnu committed Nov 8, 2009
Commits on Nov 6, 2009
  1. Make the dm version requirement discoverable

    The merb metagem uses this to specify it's
    dependencies on additional dm-more gems that
    need to be compatible with merb_datamapper
    snusnu committed Nov 6, 2009
  2. Use jeweler for rake stuff

    snusnu committed Nov 6, 2009
  3. Use edge code when running specs in a dev setup

    * When running from a typical dev setup, the gem
      dependencies will be loaded directly from the
      current source instead of loading from rubygems.
      A typical dev setup would be clones of all
      repositories below github.com/merb that all
      reside within the same directory.
    
    * Simplified require statements in spec files
    snusnu committed Nov 6, 2009
Commits on Oct 28, 2009
Commits on Oct 14, 2009
  1. [merb_datamapper] Print merb-gen message only for dm models

    [#895 state:resolved]
    merbjedi committed with snusnu Oct 1, 2009
Commits on Oct 4, 2009
Commits on Oct 2, 2009
Commits on Sep 29, 2009
  1. [merb-gen] Don't add resource route when using --delete

    The generator in merb_datamapper will respect this too
    snusnu committed with pk Sep 28, 2009
Commits on Sep 28, 2009
  1. [merb-gen] Don't add resource route when using --delete

    The generator in merb_datamapper will respect this too
    snusnu committed Sep 28, 2009
  2. [merb-gen] Don't add resource route when using --pretend

    Thx to Carl Porth for the original patch! In order to
    completely eliminate it, I had to do the same trick
    in merb_datamapper too.
    snusnu committed Sep 28, 2009
Commits on Sep 25, 2009
  1. Ripped out merb-actionorm

    Reverts: ffff732093da6d300b4652616a8fa150ec758331
    Reverts: 784ac7d71780d1a7cfb9152ba4cb0e18a990ab7a
    Reverts: 41fed477beb9d987b6dcae8ea83228bde8018e62
    Reverts: 7a029f022fecf98fddc50090f3a5ee4804522877
    Reverts: 7dc1cc7a93f687fc4dd3f1e6b7feefcc31fe7594
    
    The goal is to only use active_model compliant API
    internally. This will render the separate gem useless.
    snusnu committed Sep 23, 2009
Commits on Sep 24, 2009
  1. [merb_datamapper] Perform IM wrapping at the rack level

    This fixes an issue where before/after filters wouldn't
    make use of the identity map because previously only
    Merb::Controller#_call_action was wrapped.
    snusnu committed Sep 24, 2009
Commits on Sep 22, 2009
Commits on Sep 17, 2009
  1. [merb_datamapper] fixed session configuration.

    * Because DataMapperSession was always required, the sessions table
      would always be created during an auto_migrate!. The check to see if
      DataMapperSession should be required was using the wrong configuration.
      Also, due to the ordering of storage_names[default_repository_name]
      and the definition of self.default_repository_name, the configured
      default_repository_name was never used.
    
      These have been fixed.
    badcarl committed with wycats Jun 28, 2009
  2. [merb_datamapper] define lazy properties after models were loaded

    * This is necessary because dm automatically defines appropriate
      FK properties for m:1 and 1:1 relationships, if the respective
      FK property wasn't explicitly defined by the programmer.
    snusnu committed with wycats Jul 11, 2009
  3. [merb_datamapper] actionorm compliance without explicit driver

    * alias new_record? new?
    * silence dm-core's deprecation warnings
    * no need to load a dedicated actionorm driver instance
    snusnu committed with wycats Jun 17, 2009
  4. [merb_datamapper] removed dm-timestamps override

    * this should be fixed inside dm-core
    snusnu committed with wycats Jun 3, 2009
  5. [merb_datamapper] updated dependencies

    * depends on merb-actionorm
    * depends on dm-core 0.10.0
    * depends on dm-migrations 0.10.0
    snusnu committed with wycats Jun 3, 2009
Commits on Apr 27, 2009
Commits on Apr 20, 2009
Commits on Mar 18, 2009
Commits on Jan 30, 2009
  1. Make use of repository block wrapping optional. [Fixes #26]

    Previously, repository blocks were compulsary, which can cause issues
    when using multiple repositories.
    namelessjon committed Jan 25, 2009
Commits on Jan 19, 2009