Permalink
Commits on Oct 14, 2012
Commits on Sep 8, 2012
  1. Backport view_context stuff.

    steveklabnik committed Sep 8, 2012
    This should theoretically fix issues with mailers not
    having a context, like #272
Commits on May 15, 2012
  1. Bump

    steveklabnik committed May 15, 2012
Commits on May 12, 2012
  1. Bump to 0.12.2

    steveklabnik committed May 12, 2012
  2. Updating Changelog

    steveklabnik committed May 12, 2012
  3. bumping to 0.12.1

    steveklabnik committed May 12, 2012
  4. Updating README.

    steveklabnik committed May 11, 2012
    Thanks @beerlington!
  5. Making some gems dev only

    steveklabnik committed May 9, 2012
    Picking the old versions this time though.
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