Permalink
Commits on Mar 23, 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
  3. trailing whitespace

    markburns committed Mar 3, 2012
Commits on Feb 26, 2012
Commits on Feb 24, 2012
  1. Convert Draper to using a Railtie for loading

    Kevin Wang and Stephen Caudill committed with Hashrocket Workstation Feb 24, 2012
Commits on Feb 22, 2012
  1. Adding in #localize.

    Closes #132
    steveklabnik committed Feb 22, 2012
Commits on Feb 14, 2012
  1. Merge pull request #131 from yakko/master

    draper:decorator defaults to rspec too
    steveklabnik committed Feb 14, 2012
Commits on Feb 13, 2012
  1. merged from current master

    thejamespinto committed Feb 13, 2012