Permalink
Switch branches/tags
Nothing to show
Commits on Jul 10, 2010
Commits on Jul 9, 2010
  1. Fixes issue where calling make_unsaved inside a blueprint forces a ma…

    …ke_unsaved instance of the top-level blueprint to be saved.
    fosrias committed with notahat Apr 15, 2010
Commits on Jul 8, 2010
  1. Ensure that datamapper errors are included in the raised exception wh…

    …en creating an object fails
    crafterm committed with notahat Jul 8, 2010
Commits on Jun 26, 2010
  1. Tweaked the gitignore.

    notahat committed Jun 26, 2010
Commits on Jan 18, 2010
Commits on Jan 16, 2010
Commits on Dec 14, 2009
  1. Merge branch 'better_error'

    notahat committed Dec 14, 2009
Commits on Nov 29, 2009
  1. All specs now use block syntax in blueprints.

    Soon I'm going to deprecate doing this:
    
      Post.blueprint do
        title "Test"
      end
    
    in favour of:
    
      Post.blueprint do
        title { "Test" }
      end
    
    The former was creating confusion and getting people into trouble. Also,
    reserving the argument to an attribute method in a blueprint opens up
    some other possibilites, e.g. "author_name :name" instead of
    "author_name { Sham.name }"
    notahat committed Nov 29, 2009
  2. Merge branch 'master' into better_error

    Conflicts:
    	lib/machinist.rb
    	spec/machinist_spec.rb
    notahat committed Nov 29, 2009
  3. raise exception when calling make with undefined named blueprint

    Conflicts:
    
    	spec/machinist_spec.rb
    notahat committed Nov 29, 2009
  4. Version bump to 1.0.6

    notahat committed Nov 29, 2009
  5. Version bump to 0.0.0

    notahat committed Nov 29, 2009
  6. Version bump to 0.0.0.1.0.5

    notahat committed Nov 29, 2009
  7. Handle named blueprints without a master better.

    This raises a more descriptive error, and mentions the need for a master
    blueprint in the docs.
    
    Note that the docs refer to a master blueprint as a "default blueprint".
    I should unify this language.
    notahat committed Nov 29, 2009
Commits on Nov 24, 2009
  1. Fixed bug in example code for Sham in the README.

    Thanks to David Vrensk (http://github.com/dvrensk) for pointing out the
    problem.
    notahat committed Nov 24, 2009
Commits on Nov 1, 2009
  1. allow setting belongs_to id to nil, even if nil is whiny

    Kevin Bullock committed with notahat Oct 15, 2009
Commits on Oct 20, 2009
  1. Bumped gem version to 1.0.5 for Sequel support.

    Big thanks to Pavel Kunc and Roland Swingler. I should have merged
    these changes ages ago!
    notahat committed Oct 20, 2009
  2. Merge remote branch 'pk/master'

    notahat committed Oct 20, 2009
Commits on Oct 15, 2009
  1. Test for assignment to has_many associations.

    Based on adzap's patch, hence he gets the authorship of this one.
    adzap committed with notahat Feb 26, 2009
Commits on Oct 14, 2009
  1. Allow assignment to has_many associations.

    Idea courtesy Jeremy Durham. There's a can of worms here, but let's open
    it and see what happens.
    notahat committed Oct 14, 2009
Commits on Oct 13, 2009
Commits on Oct 8, 2009
Commits on Oct 6, 2009
  1. Removed use of "returning".

    This was a leftover from the previous requirement for ActiveSupport.
    notahat committed Oct 6, 2009
Commits on Oct 1, 2009
Commits on Aug 27, 2009
  1. Small fix for sequel specs.

    pk committed Aug 27, 2009
Commits on Aug 22, 2009