Permalink
Commits on Mar 27, 2012
  1. Merge pull request #160 from nashby/refactor

    steveklabnik committed Mar 27, 2012
    move finding association reflection to method
  2. Merge pull request #159 from nashby/generator-file-name

    steveklabnik committed Mar 27, 2012
    always generate file with downcased name
Commits on Mar 25, 2012
  1. Merge pull request #155 from dbroeglin/more_finders

    steveklabnik committed Mar 25, 2012
    Proxy all dynamic finders
  2. use let instead of before hook

    nashby committed with steveklabnik Mar 18, 2012
  3. Merge pull request #157 from nashby/generator-usage

    steveklabnik committed Mar 25, 2012
    remove USAGE file since we use desc in decorator_generator.rb
Commits on Mar 23, 2012
Commits on Mar 21, 2012
  1. Proxy all dynamic finders

    dbroeglin committed Mar 21, 2012
Commits on Mar 18, 2012
  1. Merge pull request #153 from nashby/instance-methods

    steveklabnik committed Mar 18, 2012
    no need for creating a new object to get instance methods
  2. Merge pull request #152 from JoeyButler/doc_draper_base

    steveklabnik committed Mar 18, 2012
    Add documentation for the options to Draper::Base.decorate
  3. Merge pull request #151 from JoeyButler/redcarpet_dependency

    steveklabnik committed Mar 18, 2012
    Add redcarpet as a development dependency.
  4. Add documentation for the options to Draper::Base.decorate

    JoeyButler committed Mar 18, 2012
      - Fix documentation for Draper::Base.decorates_association
Commits on Mar 17, 2012
Commits on Mar 14, 2012
  1. Adding changelog.

    steveklabnik committed Mar 14, 2012
    Fixes #148
  2. Bumping to 0.11.1

    steveklabnik committed Mar 14, 2012
  3. Bumping version

    steveklabnik committed Mar 14, 2012
  4. adding myself to authors

    steveklabnik committed Mar 14, 2012
  5. Merge pull request #142 from gcirne/poro-association

    steveklabnik committed Mar 14, 2012
    Makes decorates_association work transparently with Plain Old Ruby Object associations.
Commits on Mar 13, 2012
  1. Merge pull request #144 from simonc/polymorphic-associations-decoration

    steveklabnik committed Mar 13, 2012
    Adding a :polymorphic option to decorates_association
  2. Merge pull request #134 from tomasc/master

    steveklabnik committed Mar 13, 2012
    Pass options of self.decorates_association to self.decorate
  3. Merge pull request #141 from joevandyk/patch-1

    steveklabnik committed Mar 13, 2012
    Update README to show how to init draper for all ActionMailer methods.
  4. Merge pull request #145 from avdgaag/fix-for-kernel-array

    steveklabnik committed Mar 13, 2012
    Bugfix: do not confuse Kernel#Array
Commits on Mar 12, 2012
  1. Be complete and call super

    avdgaag committed Mar 12, 2012
  2. Bugfix: do not confuse Kernel#Array

    avdgaag committed Mar 12, 2012
    On 1.9.2 (and maybe earlier) Kernel#Array will choke on a decorator,
    because it just invokes `to_ary` and `to_a` without using `respond_to?`
    first, like it does in 1.9.3-p125.
    
    As a work-around, make sure to not create a delegation method in
    `method_missing` when the model will not respond to it anyway. The
    decorator object will then behave like `Kernel#Array` expects it to.
    
    See #115.
Commits on Mar 8, 2012
  1. Adding a :polymorphic option to decorates_association

    Simon COURTOIS committed Mar 8, 2012
Commits on Mar 7, 2012
  1. Merge pull request #140 from colindean/patch-1

    jcasimir committed Mar 7, 2012
    correct a tiny typo
  2. correct a tiny typo

    colindean committed Mar 7, 2012
Commits on Mar 3, 2012
  1. Merge pull request #137 from markburns/master

    steveklabnik committed Mar 3, 2012
    Refactor of method_missing on Draper::Base for ease of reading
  2. remove superfluous self

    markburns committed Mar 3, 2012