Permalink
Commits on Mar 27, 2012
  1. use AS::Concern

    committed Mar 27, 2012
  2. Merge pull request #160 from nashby/refactor

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

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

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

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

    remove USAGE file since we use desc in decorator_generator.rb
    steveklabnik committed Mar 25, 2012
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

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

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

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

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

    Fixes #148
    steveklabnik committed Mar 14, 2012
  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

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

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

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

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

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

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

    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.
    avdgaag committed Mar 12, 2012
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

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

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

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

    markburns committed Mar 3, 2012