Permalink
Commits on Aug 21, 2012
  1. bump to 0.17.0

    steveklabnik committed Aug 21, 2012
Commits on Aug 18, 2012
  1. Properly proxy to Enumerable or AR::Finder method.

    steveklabnik committed Aug 18, 2012
    Decorated associations implement Enumerable, but they also should
    emulate the AR::Finder stuff.
    
        @person = PersonDecorator.find(params[:person_id])
        @pet = @person.pets.find(params[:id])
    
    The problem is, pets delegated to Enumerable always, instead of
    to the finder method. This patch makes it delegate to Enumerable if
    a block is given, and Finder if not.
    
    Fixes #214.
Commits on Aug 14, 2012
  1. Merge pull request #253 from doublewide/fix_view_context_priming

    steveklabnik committed Aug 14, 2012
    Fixed view_context priming. Fixes #244, relates to 057ab4e.
  2. Fixed view_context priming. Fixes #244, relates to 057ab4e.

    ihoka committed Aug 14, 2012
    Fix in 057ab4e resulted in a "NameError: undefined local variable or method `view_context' for Draper::ViewContext:Module".
  3. Merge pull request #252 from iblue/fixed-changelog

    steveklabnik committed Aug 14, 2012
    Fixed changelog
Commits on Aug 13, 2012
  1. Fix commit sha1 in changelog

    iblue committed Aug 13, 2012
Commits on Aug 12, 2012
  1. Merge pull request #251 from WizardOfOgz/feature-denies-all

    steveklabnik committed Aug 12, 2012
    Add denies_all feature
  2. .denies_all implementation

    Andy Ogzewalla
    Andy Ogzewalla committed Aug 12, 2012
  3. Additional specs for denies_all

    Andy Ogzewalla
    Andy Ogzewalla committed Aug 12, 2012
  4. Add specs for denies_all cases

    Andy Ogzewalla
    Andy Ogzewalla committed Aug 10, 2012
Commits on Aug 11, 2012
  1. Bump 0.16.0

    steveklabnik committed Aug 11, 2012
  2. Update CHANGELOG.txt

    steveklabnik committed Aug 11, 2012
    Added in all changes for 0.16.0
  3. Set view_context if it's nil.

    steveklabnik committed Aug 11, 2012
    This should take care of #244, but also in general, anywhere
    that we haven't primed the context yet.
Commits on Aug 9, 2012
  1. Merge pull request #250 from nathanpsouza/master

    steveklabnik committed Aug 9, 2012
     Fixing problem when comparing two decorated collections with eq matcher on rspec expect method
  2. Merge pull request #239 from iblue/sequel-support

    steveklabnik committed Aug 9, 2012
    Support for Sequel
  3. Removed useless comment

    iblue committed Aug 9, 2012
  4. Fixing problem when comparing two decorated collections with eq match…

    nathanpsouza committed Aug 9, 2012
    …er on rspec expect method
  5. Merge pull request #247 from haines/decorates_associations_options

    steveklabnik committed Aug 9, 2012
    Pass options to decorates_associations
  6. Merge pull request #245 from haines/decorate_everything

    steveklabnik committed Aug 9, 2012
    Include Draper::ModelSupport in ActiveRecord::Base
Commits on Aug 7, 2012
  1. Merge pull request #248 from stevenharman/use_before_setup_hook_when_…

    steveklabnik committed Aug 7, 2012
    …available
    
    Use the before_setup hook when it is available.
  2. Use the before_setup hook when it is available.

    stevenharman committed Aug 7, 2012
    * As of minitest 3.3 the `add_setup_hook` (and friends) are deprecated.
      Ruby 1.9 ships with an older version of minitest from before the new
      hooks were added, so we only use the `before_setup` hook when it is
      available, falling back to the old hooks for older minitests.
Commits on Aug 3, 2012
Commits on Jul 30, 2012
  1. Merge pull request #246 from beerlington/patch-1

    steveklabnik committed Jul 30, 2012
    Update note about Spork usage
  2. Update note about Spork usage

    beerlington committed Jul 30, 2012
    Readme suggested a deprecated path for requiring rspec_integration with Spork
Commits on Jul 27, 2012
  1. Correct name of specced module

    haines committed Jul 27, 2012
Commits on Jul 19, 2012
  1. Merge pull request #241 from rf-/view_context_cleanup

    steveklabnik committed Jul 19, 2012
    Restore view context patching to Action Mailer
Commits on Jul 18, 2012
  1. Merge pull request #238 from fringd/master

    steveklabnik committed Jul 18, 2012
    fix problem with html_escape being private
Commits on Jul 17, 2012
  1. Send the patch into AC::B.

    steveklabnik committed Jul 17, 2012
    Because of the way the tests worked, I assumed I had to put
    the patch into ApplicationController. It'll actually work in
    ActionController::Base, due to the way that the real code
    is structured.
    
    Yay stubs.