Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 13, 2012
  1. Morton Jonuschat

    Add forgotten sample file

    yabawock authored
  2. Morton Jonuschat

    Allow multiple allows

    yabawock authored
Commits on Feb 10, 2012
  1. Steve Klabnik

    Merge pull request #127 from jpfuentes2/master

    steveklabnik authored
    Add basic example for decorates_association to Readme
  2. Jacques Fuentes
Commits on Feb 3, 2012
  1. Jeff Casimir
  2. Jeff Casimir

    Fixing tutorial link

    jcasimir authored
Commits on Jan 31, 2012
  1. Jeff Casimir

    Pull rbx-2.0 from Travis.

    jcasimir authored
  2. Jeff Casimir

    Merge pull request #120 from haihappen/master

    jcasimir authored
    Added .source / .to_source both to Base and DecoratedEnumerableProxy. Made options accept both class and class_name.
  3. Jeff Casimir

    Merge pull request #117 from ohwillie/dont_cache_decorator_proxy

    jcasimir authored
    Don't cache @decorator_proxy in Draper::ModelSupport::ClassMethods#decorate.
  4. Jeff Casimir

    Merge pull request #122 from tooky/no_method_error_fix

    jcasimir authored
    NoMethodError swallowed from inside delegated methods
  5. Steve Tooke

    Ensure NoMethodError propogates correctly.

    tooky authored
    When a delegated method calls a non-existant method the correct
    NoMethodError should be called. If the NoMethodError is swallowed by
    the decorator it can cause problems with BDD workflow.
  6. Steve Tooke

    Remove trailing whitespace.

    tooky authored
Commits on Jan 27, 2012
  1. Mario Uher

    Added support for :class_name option to mimic the behavior of ActiveR…

    haihappen authored
    …ecord and help to unify code. :class / :class_name can now be strings too!
  2. Mario Uher
Commits on Jan 26, 2012
  1. Don't cache @decorator_proxy in Draper::ModelSupport::ClassMethods#de…

    Rob Hanlon authored
    Prior to this commit, calling
    Draper::ModelSupport::ClassMethods#decorate had the unfortunately side
    effect of setting @decorator_proxy once and never setting it again at
    the class level. This caused all subsequent calls to decorate on
    ActiveRecord::Base descendant classes and their corresponding
    ActiveRecord::Relations to always return this same
    DecoratedEnumerableProxy, which could result in some very odd behavior,
    e.g. getting a completely different set of decorated models than you
    would have expected.
    I've added specs to verify that this no longer occurs.
Commits on Jan 17, 2012
  1. Jeff Casimir
  2. Jeff Casimir
Commits on Jan 16, 2012
  1. Jeff Casimir

    Fixing URL error in Readme

    jcasimir authored
  2. Jeff Casimir

    Updating dependencies

    jcasimir authored
  3. Jeff Casimir
  4. Jeff Casimir

    Version bump

    jcasimir authored
  5. Jeff Casimir
  6. Jeff Casimir
  7. Jeff Casimir
Commits on Jan 10, 2012
  1. Jeff Casimir

    Merge pull request #112 from i0rek/master

    jcasimir authored
    Remove backtic from Readme.
  2. Hans Hasselberg

    Remove backtic.

    i0rek authored
Commits on Jan 7, 2012
  1. Steve Klabnik

    Merge pull request #111 from laserlemon/patch-1

    steveklabnik authored
    Link build status and add dependency status to README
  2. Steve Richert
Commits on Jan 5, 2012
  1. Steve Klabnik

    Only include rspec if we really want it.

    steveklabnik authored
    This closes #91.
  2. Steve Klabnik
  3. Steve Klabnik

    Merge pull request #85 from michaelfairley/decorate_associations

    steveklabnik authored
    Automatically decorate associations with decorates_association
  4. Steve Klabnik

    Merge pull request #110 from tmaier/issue-8

    steveklabnik authored
    Refactor #kind_of? specs for Draper::Base and alias :is_a? :kind_of?
  5. Steve Klabnik

    Merge pull request #95 from tmaier/issue-92

    steveklabnik authored
    Overwrite #kind_of? and #is_a? in Draper::DecoratedEnumerableProxy
  6. Michael Fairley
  7. Michael Fairley

    Add with option to decorates_association to allow the decoration to b…

    michaelfairley authored
    …e decorated by a specific association
Something went wrong with that request. Please try again.