Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 1, 2010
  1. @dhh
  2. @bernardo @josevalim

    Fix error in number_with_precision with :significant option and zero …

    bernardo authored josevalim committed
    …value [#4306 state:resolved]
    Signed-off-by: José Valim <>
  3. @jeremy

    HTML safety: give a deprecation warning if an array of option tags is…

    jeremy authored
    … passed to select tag. Be sure to join the tag yourself and mark them .html_safe
Commits on Mar 31, 2010
  1. @josevalim
  2. @josevalim

    Deprecate cookie_verifier_secret in favor of config.cookie_secret all…

    josevalim authored
    …owing signed cookies to work again.
Commits on Mar 30, 2010
  1. @josh

    Consistent routing language

    josh authored
  2. @josh
  3. @wycats

    Replace the placeholder base_hook API with on_load. To specify some c…

    wycats authored
    …ode that
    should run during framework load do:
    ActiveSupport.on_load(:action_controller) do
      # Code run in the context of AC::Base
Commits on Mar 29, 2010
  1. @josevalim
  2. @wycats
  3. @craigw @wycats

    Allow customisation of asset path generation using a proc.

    craigw authored wycats committed
    Set config.action_controller.asset_path_template to a proc that takes one
    argument - the direct, unchanged asset path - and returns a path to that asset
    using the scheme that your assets require.
    This is useful if you have a setup which scales by introducing new application
    servers where the mtime of the asset files may not be the same as those of the
    asset files on your previous servers, but it does require your web servers to
    have knowledge of the asset template paths that you rewrite to so it's not
    suitable for out-of-the-box use. An example of configuring asset path
    generation and rewriting these paths using Apache is included in
    Signed-off-by: wycats <>
  4. @rizwanreza @wycats
  5. @DefV @wycats

    Add _index to named collection routes for uncountable resources (e.g.…

    DefV authored wycats committed
    … Sheep)
    Signed-off-by: Rizwan Reza <>
  6. @pacoguzman @wycats

    html_tag option to wrap error_message_on text [#4283 state:resolved]

    pacoguzman authored wycats committed
    Signed-off-by: wycats <>
Commits on Mar 28, 2010
  1. @wycats

    Request#content_type exists in Rack::Request, and other parts of Rack…

    wycats authored
    …::Request expect
    it to return a String. Split the Rails API so that Request#content_type returns
    a String, and Request#content_mime_type returns a Mime::Type object.
  2. @pixeltrix @rizwanreza

    Add constraints to resources in new routing DSL

    pixeltrix authored rizwanreza committed
    Signed-off-by: Rizwan Reza <>
  3. @wycats
  4. @fxn
  5. @fxn
  6. @rizwanreza
Commits on Mar 27, 2010
  1. @josevalim

    Ensure details are frozen after @details_keys lookup. The implementat…

    josevalim authored
    …ion waits to freeze until the last required moment, to avoid duping hashes.
  2. @wycats

    Missing require

    wycats authored
  3. @wycats

    Fixes a bug where error_messages_for was returning an empty div [#4048

    wycats authored
    …state:resolved] (ht: Geoff Garside)
  4. @drodriguez @wycats

    Recovers error_messages for ActiveRecordInstanceTag. [#4078 state:res…

    drodriguez authored wycats committed
    Signed-off-by: wycats <>
  5. @wycats

    Use ActiveSupport::Autoload for view helpers. [#4237 state:resolved]

    Sam Elliott and Ryan Bigg authored wycats committed
    Signed-off-by: wycats <>
  6. @wycats
  7. @pixeltrix @wycats

    Fix named routes for member actions of singleton resources [#4266 sta…

    pixeltrix authored wycats committed
    Signed-off-by: wycats <>
  8. @pixeltrix @wycats

    Add parameter defaults support to new routing DSL [#4265 state:resolved]

    pixeltrix authored wycats committed
    Signed-off-by: wycats <>
  9. @wycats
Commits on Mar 26, 2010
  1. @wycats

    Make X-Sendfile default to "" so it works correctly in dev mode.

    wycats authored
    Provide a default in production.rb that can be modified, so that
    people who care about sendfile performance in production mode can
    get better performance easily.
  2. @wycats
  3. @josevalim

    Move application configuration to the application configuration objec…

    josevalim authored
    …t, remove railtie_name and engine_name and allow to set the configuration object.
  4. @josevalim

    Rails router automatically calculated for you the controller and name…

    josevalim authored
    …d routes in the following scenarios:
      match "home/about"                 #=> maps to home#about with named route home_about_path
      match "about"                      #=> does not work because it cannot guess the controller
      match "about" => "home#about"      #=> maps to home#about with named route home_about_path
      match "home/about", :as => "about" #=> maps to home#about with named route about_path
  5. @josevalim
Commits on Mar 25, 2010
  1. @retr0h @rizwanreza

    Updated ActionController::Base.asset_host example

    retr0h authored rizwanreza committed
    The example provided contrived.  It is not useful when wanting to use
    1-based asset hosts (since it would generate a random asset host for
    the same asset).
    Signed-off-by: Rizwan Reza <>
Something went wrong with that request. Please try again.