Permalink
Commits on May 11, 2012
  1. Updating README.

    Thanks @beerlington!
    steveklabnik committed May 11, 2012
Commits on May 9, 2012
  1. Merge commit '0d3a369'

    steveklabnik committed May 9, 2012
  2. Change #to_model -> #wrapped_object

    This is a breaking change, but ActiveModel already uses
    to_model in a certain way.
    steveklabnik committed May 9, 2012
  3. Updating CHANGELOG

    steveklabnik committed May 9, 2012
  4. Making some gems dev only

    steveklabnik committed May 9, 2012
  5. Updating dependencies

    steveklabnik committed May 9, 2012
  6. Drop support for old rubies.

    Rails will not support < 1.9.3 at Rails 4, so neither should we.
    steveklabnik committed May 9, 2012
  7. updated changelog

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

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

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

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

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

    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
    steveklabnik committed May 9, 2012
  13. Merge pull request #188 from cookrn/cookrn_i32_rails_loading

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

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

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

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

    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
    kurko committed May 8, 2012
Commits on May 6, 2012
  1. Merge pull request #184 from cheald/master

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

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

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

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

    committed Apr 25, 2012