Permalink
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 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
  2. Merge pull request #129 from yabawock/multiple-allows

    Allow multiple allows / inherit allows
    steveklabnik committed Feb 13, 2012
  3. Add forgotten sample file

    yabawock committed Feb 13, 2012
  4. Allow multiple allows

    yabawock committed Feb 13, 2012
Commits on Feb 10, 2012
  1. Merge pull request #127 from jpfuentes2/master

    Add basic example for decorates_association to Readme
    steveklabnik committed Feb 10, 2012
Commits on Feb 3, 2012
  1. Fixing tutorial link

    jcasimir committed Feb 3, 2012
Commits on Jan 31, 2012
  1. Pull rbx-2.0 from Travis.

    jcasimir committed Jan 31, 2012
  2. Merge pull request #120 from haihappen/master

    Added .source / .to_source both to Base and DecoratedEnumerableProxy. Made options accept both class and class_name.
    jcasimir committed Jan 31, 2012
  3. Merge pull request #117 from ohwillie/dont_cache_decorator_proxy

    Don't cache @decorator_proxy in Draper::ModelSupport::ClassMethods#decorate.
    jcasimir committed Jan 31, 2012
  4. Merge pull request #122 from tooky/no_method_error_fix

    NoMethodError swallowed from inside delegated methods
    jcasimir committed Jan 31, 2012
  5. Ensure NoMethodError propogates correctly.

    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.
    Steve Tooke committed Jan 31, 2012
  6. Remove trailing whitespace.

    Steve Tooke committed Jan 31, 2012
Commits on Jan 27, 2012
  1. Added support for :class_name option to mimic the behavior of ActiveR…

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

    …corate.
    
    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.
    Rob Hanlon committed Jan 26, 2012
Commits on Jan 17, 2012
Commits on Jan 16, 2012
  1. Fixing URL error in Readme

    jcasimir committed Jan 16, 2012
  2. Updating dependencies

    jcasimir committed Jan 16, 2012