Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 28, 2012
  1. @tenderlove

    bumping to 3.1.5.rc1

    tenderlove committed
Commits on May 13, 2012
  1. @rafaelfranca

    Merge pull request #3237 from sakuro/data-url-scheme

    rafaelfranca committed
    Support data: url scheme
Commits on May 10, 2012
  1. @pixeltrix
  2. @pixeltrix

    Refactor the handling of default_url_options in integration tests

    pixeltrix committed
    This commit improves the handling of default_url_options in integration
    tests by making behave closer to how a real application operates.
    Specifically the following issues have been addressed:
    * Options specified in routes.rb are used (fixes #546)
    * Options specified in controllers are used
    * Request parameters are recalled correctly
    * Tests can override default_url_options directly
Commits on May 4, 2012
  1. @route
Commits on May 2, 2012
  1. @pixeltrix

    Reset the request parameters after a constraints check

    pixeltrix committed
    A callable object passed as a constraint for a route may access the request
    parameters as part of its check. This causes the combined parameters hash
    to be cached in the environment hash. If the constraint fails then any subsequent
    access of the request parameters will be against that stale hash.
    To fix this we delete the cache after every call to `matches?`. This may have a
    negative performance impact if the contraint wraps a large number of routes as the
    parameters hash is built by merging GET, POST and path parameters.
    Fixes #2510.
    (cherry picked from commit 5603050)
Commits on Apr 30, 2012
  1. @willbryant @drogus

    fix the Flash middleware loading the session on every request (very d…

    willbryant committed with drogus
    …angerous especially with Rack::Cache), it should only be loaded when the flash method is called
Commits on Apr 29, 2012
  1. @pixeltrix
  2. @pixeltrix

    Don't convert params if the request isn't HTML - fixes #5341

    pixeltrix committed
    (cherry picked from commit d6bbd33)
Commits on Mar 31, 2012
  1. @arunagw

    :subdomain can now be specified with a value of false in url_for,

    arunagw committed
    allowing for subdomain(s) removal from the host during link generation. 
    Closes #4083
    cherry-picked from 
Commits on Mar 27, 2012
  1. @josevalim @drogus
Commits on Mar 26, 2012
  1. @carlosantoniodasilva

    Return the same session data object when setting session id

    carlosantoniodasilva committed
    Make sure to return the same hash object instead of returning a new one.
    Returning a new one causes failures on cookie store tests, where it
    tests for the 'Set-Cookie' header with the session signature.
    This is due to the hash ordering changes on Ruby 1.8.7-p358.
Commits on Mar 15, 2012
  1. @tenderlove

    Merge pull request #5456 from brianmario/redirect-sanitization

    tenderlove committed
    Strip null bytes from Location header
Commits on Mar 1, 2012
  1. @tenderlove

    Merge branch '3-1-4' into 3-1-stable

    tenderlove committed
    * 3-1-4:
      bumping to 3.1.4
      Ensure [] respects the status of the buffer.
      updating RAILS_VERSION
      use AS::SafeBuffer#clone_empty for flushing the output_buffer
      add AS::SafeBuffer#clone_empty
      fix output safety issue with select options
  2. @tenderlove

    bumping to 3.1.4

    tenderlove committed
  3. @tenderlove

    Merge branch '3-1-stable-security' into 3-1-4

    tenderlove committed
    * 3-1-stable-security:
      Ensure [] respects the status of the buffer.
      use AS::SafeBuffer#clone_empty for flushing the output_buffer
      add AS::SafeBuffer#clone_empty
      fix output safety issue with select options
Commits on Feb 26, 2012
  1. @pixeltrix
Commits on Feb 25, 2012
  1. @glitterfang @vijaydev

    Fix typo in match :to docs

    glitterfang committed with vijaydev
Commits on Feb 22, 2012
  1. @tenderlove

    updating RAILS_VERSION

    tenderlove committed
Commits on Feb 21, 2012
  1. @amatsuda @tenderlove
Commits on Feb 20, 2012
  1. @lest @tenderlove
  2. @tenderlove
Commits on Feb 17, 2012
  1. @pixeltrix

    Simplify regexp

    pixeltrix committed
  2. @pixeltrix

    Fix ActionDispatch::Static to serve files with unencoded PCHAR

    pixeltrix committed
    RFC 3986[1] allows sub-delim characters in path segments unencoded,
    however Rack::File requires them to be encoded so we use URI's
    unescape method to leave them alone and then escape them again.
    Also since the path gets passed to Dir[] we need to escape any glob
    characters in the path.
Commits on Jan 10, 2012
  1. @drogus
  2. @drogus
Commits on Jan 3, 2012
  1. @spastorino
  2. @josevalim
Commits on Dec 20, 2011
  1. @guilleiguaran

    Use ProcessedAsset#pathname in Sprockets helpers when debugging is on…

    guilleiguaran committed
    …. Closes #3333 #3348 #3361.
    Is wrong use ProcessedAsset#to_s since it returns the content of the file.
Commits on Dec 13, 2011
  1. @tenderlove
Commits on Dec 8, 2011
  1. @tenderlove
  2. @josevalim

    Improve cache on route_key lookup.

    josevalim committed
Commits on Dec 6, 2011
  1. @spastorino

    Merge pull request #3428 from adrianpike/asset_path_conflicts

    spastorino committed
    Issue #3427 - asset_path_conflicts
Commits on Dec 1, 2011
  1. @jdelStrother @josevalim

    Leave default_asset_host_protocol unset

    jdelStrother committed with josevalim
    When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation)
    Signed-off-by: José Valim <>
Commits on Nov 26, 2011
  1. @ugisozols @vijaydev

    what's -> that's

    ugisozols committed with vijaydev
Something went wrong with that request. Please try again.