Permalink
Commits on May 9, 2012
  1. updated changelog

    steveklabnik committed May 9, 2012
  2. Delegating a bunch of methods to #decorated_collection.

    steveklabnik committed May 9, 2012
    Fixes #187.
    
    This is cleaner than the last two implementations. I'm not convinced
    that it's perfect, but it seems pretty good.
  3. Proxying #shift.

    steveklabnik committed May 9, 2012
    Fixes #185.
  4. Proxy #last.

    steveklabnik committed May 9, 2012
    Fixes #169
  5. Adding capybara integration.

    steveklabnik committed May 9, 2012
    Fixes #156
  6. Generators redux.

    steveklabnik committed May 9, 2012
    Lots of changes here:
    
    * rake draper:install no longer needed
    * don't generate an ApplicationGenerator by default
    ** If one exists, the generator respects it
    * Fixes #53
  7. Merge pull request #188 from cookrn/cookrn_i32_rails_loading

    steveklabnik committed May 9, 2012
    Fix for Rails Loading Problems
  8. Add `app/decorators` in the host Rails application to Rails autoload …

    cookrn committed May 9, 2012
    …paths. Describe the reasoning behind each hook/callback. -- Issue #32
  9. Use the ActiveSupport::Dependencies functionality for determining whe…

    cookrn committed May 9, 2012
    …ther files should be `load`-ed or `require`-ed -- Issue #32
Commits on May 8, 2012
  1. Merge pull request #186 from nisargshah100/enumerable_proxy_context

    steveklabnik committed May 8, 2012
    added context to enumerable
  2. Adds support for ActiveModel::Errors

    kurko committed May 8, 2012
    The goal here is to improve ActiveModel support so that Draper can
    work seamlessly with Rails' FormHelpers, proxying the model's #errors
    method.
    
    I also added support for ActiveModel::Errors, adding a proxy to the
    model's #errors method only if it's a descendant of
    ActiveModel::Validations.
    
    Also some refactoring was done. Draper now proxies #to_param and #id
    methods only if the model is an ActiveModel descendant.
    
    Other things I did include:
    
    - created Draper::ActiveModelSupport::Proxies, which contains the
      methods for proxying default methods(to_param, id, etc) depending
    on the ancestors
    - wrote specs for class with ActiveModel as ancestor
    - wrote specs for class without ActiveModel as ancestor
Commits on May 6, 2012
  1. Merge pull request #184 from cheald/master

    steveklabnik committed May 6, 2012
    Add a TestRequest and params hash to Draper RSpec tests
Commits on May 5, 2012
Commits on Apr 28, 2012
  1. Merge pull request #182 from nashby/generators

    steveklabnik committed Apr 28, 2012
    automatically detect test framework in generators
  2. rework generators

    nashby committed Apr 28, 2012
Commits on Apr 25, 2012
  1. Merge pull request #179 from nashby/new-lines

    steveklabnik committed Apr 25, 2012
    add new lines
  2. add new lines 😓

    nashby committed Apr 25, 2012
  3. Merge pull request #178 from bloudermilk/patch-1

    steveklabnik committed Apr 25, 2012
    Fixes typo in README advocating incorrect usage of the generator
Commits on Apr 23, 2012
  1. Merge pull request #175 from nashby/fix-issue-173

    steveklabnik committed Apr 23, 2012
    prevent double decoration
  2. prevent double decoration, closes #173

    nashby committed Apr 23, 2012
Commits on Apr 22, 2012
  1. Merge pull request #172 from nashby/respond_to

    steveklabnik committed Apr 22, 2012
    handle respond_to? second param
Commits on Apr 10, 2012
  1. Merge pull request #171 from patriciomacadden/add_contributing_section

    steveklabnik committed Apr 10, 2012
    Add the "Contributing" section to the readme
  2. Merge pull request #170 from patriciomacadden/fix_readme

    steveklabnik committed Apr 10, 2012
    Add the missing step in the "Up and Running" section of the readme
Commits on Apr 9, 2012
  1. fixed a typo

    patriciomacadden committed Apr 9, 2012