Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 13, 2012
  1. @yabawock

    Add forgotten sample file

    yabawock committed
  2. @yabawock

    Allow multiple allows

    yabawock committed
Commits on Feb 10, 2012
  1. @steveklabnik

    Merge pull request #127 from jpfuentes2/master

    steveklabnik committed
    Add basic example for decorates_association to Readme
  2. @jpfuentes2
Commits on Feb 3, 2012
  1. @jcasimir
  2. @jcasimir

    Fixing tutorial link

    jcasimir committed
Commits on Jan 31, 2012
  1. @jcasimir

    Pull rbx-2.0 from Travis.

    jcasimir committed
  2. @jcasimir

    Merge pull request #120 from haihappen/master

    jcasimir committed
    Added .source / .to_source both to Base and DecoratedEnumerableProxy. Made options accept both class and class_name.
  3. @jcasimir

    Merge pull request #117 from ohwillie/dont_cache_decorator_proxy

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

    Merge pull request #122 from tooky/no_method_error_fix

    jcasimir committed
    NoMethodError swallowed from inside delegated methods
  5. Ensure NoMethodError propogates correctly.

    Steve Tooke committed
    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. Remove trailing whitespace.

    Steve Tooke committed
Commits on Jan 27, 2012
  1. @haihappen

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

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

    Rob Hanlon committed
    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. @jcasimir
  2. @jcasimir
Commits on Jan 16, 2012
  1. @jcasimir

    Fixing URL error in Readme

    jcasimir committed
  2. @jcasimir

    Updating dependencies

    jcasimir committed
  3. @jcasimir
  4. @jcasimir

    Version bump

    jcasimir committed
  5. @jcasimir
  6. @jcasimir
  7. @jcasimir
Commits on Jan 10, 2012
  1. @jcasimir

    Merge pull request #112 from i0rek/master

    jcasimir committed
    Remove backtic from Readme.
  2. @i0rek

    Remove backtic.

    i0rek committed
Commits on Jan 7, 2012
  1. @steveklabnik

    Merge pull request #111 from laserlemon/patch-1

    steveklabnik committed
    Link build status and add dependency status to README
  2. @laserlemon
Commits on Jan 5, 2012
  1. @steveklabnik

    Only include rspec if we really want it.

    steveklabnik committed
    This closes #91.
  2. @steveklabnik
  3. @steveklabnik

    Merge pull request #85 from michaelfairley/decorate_associations

    steveklabnik committed
    Automatically decorate associations with decorates_association
  4. @steveklabnik

    Merge pull request #110 from tmaier/issue-8

    steveklabnik committed
    Refactor #kind_of? specs for Draper::Base and alias :is_a? :kind_of?
  5. @steveklabnik

    Merge pull request #95 from tmaier/issue-92

    steveklabnik committed
    Overwrite #kind_of? and #is_a? in Draper::DecoratedEnumerableProxy
  6. @michaelfairley
  7. @michaelfairley

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

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