Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 4, 2012
  1. Alexey Vakhov

    Fix AC responder example

    avakhov authored
Commits on Mar 6, 2012
  1. Prem Sichanugrist

    Always passing a respond block from to responder

    sikachu authored
    We should let the responder to decide what to do with the given
    overridden response block, and not short circuit it.
    
    Fixes #5280
Commits on Feb 22, 2012
  1. David Lee

    Add config.default_method_for_update to support PATCH

    dlee authored
    PATCH is the correct HTML verb to map to the #update action. The
    semantics for PATCH allows for partial updates, whereas PUT requires a
    complete replacement.
    
    Changes:
    * adds config.default_method_for_update you can set to :patch
    * optionally use PATCH instead of PUT in resource routes and forms
    * adds the #patch verb to routes to detect PATCH requests
    * adds #patch? to Request
    * changes documentation and comments to indicate support for PATCH
    
    This change maintains complete backwards compatibility by keeping :put
    as the default for config.default_method_for_update.
Commits on Feb 20, 2012
  1. Aaron Patterson
Commits on Feb 4, 2012
  1. José Valim
Commits on Nov 11, 2011
  1. Xavier Noria

    Merge pull request #3613 from mitio/fix-actionpack-responder-docs

    fxn authored
    Fix wording and minor typos in the Responder RDoc
  2. Dimitar Dimitrov
Commits on Oct 26, 2011
  1. José Valim

    Responders now return 204 No Content for API requests without a respo…

    josevalim authored
    …nse body (as in the new scaffold)
Commits on Oct 10, 2011
  1. Denis Odorcic
Commits on Jul 7, 2011
  1. Akira Matsuda

    find(:all) => all

    amatsuda authored
Commits on Jun 30, 2011
  1. José Valim
Commits on May 5, 2011
  1. José Valim
Commits on Mar 31, 2011
  1. José Valim

    Improve docs.

    josevalim authored
  2. Josh Kalderimis José Valim

    pass respond_with options to controller render when using a template …

    joshk authored josevalim committed
    …for api navigation
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. Josh Kalderimis José Valim

    only try to display an api template in responders if the request is a…

    joshk authored josevalim committed
    … get or there are no errors
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  4. Josh Kalderimis José Valim

    when using respond_with with an invalid resource and custom options, …

    joshk authored josevalim committed
    …the default response status and error messages should be returned
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Feb 11, 2011
  1. José Valim
Commits on Dec 27, 2010
  1. José Valim

    No need to symbolize these.

    josevalim authored
Commits on Oct 11, 2010
  1. Szymon Nowak José Valim

    Return a valid empty JSON on successful PUT and DELETE requests. [#5199

    szimek authored josevalim committed
    … state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Aug 26, 2010
  1. Joost Baaij

    escape constant names

    tilsammans authored
Commits on Aug 19, 2010
  1. José Valim
Commits on Jun 26, 2010
  1. José Valim

    Small changes to responder:

    josevalim authored
    * resources is always an array;
    * Lazy retrieve request and formats;
    * Alias api_location and navigation_location to resource_location, making easier to change its behavior without affecting each other and without a need to reimplement any of the behavior methods.
Commits on May 24, 2010
  1. José Valim
Commits on Apr 7, 2010
  1. José Valim
Commits on Apr 4, 2010
  1. Yehuda Katz

    * Change the object used in routing constraints to be an instance of

    wycats authored
      ActionDispatch::Request rather than Rack::Request.
    
    * Changed ActionDispatch::Request#method to return a String, to be
      compatible with the Rack::Request superclass.
    
    * Changed ActionDispatch::Request#method to return the original
      method in the case of methodoverride and #request_method not to,
      to be compatible with Rack::Request
Commits on Mar 17, 2010
  1. José Valim
Commits on Jan 16, 2010
  1. Pratik

    Merge docrails

    lifo authored
Commits on Dec 7, 2009
  1. José Valim

    Responder redirects to resource if destroy fails.

    josevalim authored Yehuda Katz committed
    Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
Commits on Dec 1, 2009
  1. José Valim

    Allow ActionController::Responder to have a common entry point for al…

    josevalim authored Yehuda Katz committed
    …l formats.
    
    Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
Commits on Nov 13, 2009
  1. José Valim Jeremy Kemper

    Split mime responder into smaller chunks and allow action to be confi…

    josevalim authored jeremy committed
    …gured.
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Oct 20, 2009
  1. Jeremy Kemper
Commits on Aug 29, 2009
  1. José Valim
  2. José Valim Yehuda Katz

    Attempt to render the template inside the responder, so it can be use…

    josevalim authored wycats committed
    …d for caching and pagination.
    
    Signed-off-by: Yehuda Katz <wycats@gmail.com>
Commits on Aug 13, 2009
  1. José Valim
Commits on Aug 8, 2009
  1. José Valim

    Renamed ActionController::Renderer to ActionController::Responder and…

    josevalim authored
    … ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector.
Something went wrong with that request. Please try again.