Permalink
Commits on Mar 18, 2012
  1. Merge pull request #152 from JoeyButler/doc_draper_base

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

    steveklabnik committed Mar 18, 2012
    Add redcarpet as a development dependency.
  3. 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
  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.

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

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

    thejamespinto committed Feb 13, 2012
  2. Merge pull request #129 from yabawock/multiple-allows

    steveklabnik committed Feb 13, 2012
    Allow multiple allows / inherit allows