Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 3, 2011
  1. @josevalim

    Add static_cache_control as configuration option and set a default fo…

    josevalim authored
    …r test. Should improve performance in acceptance tests.
Commits on Apr 22, 2011
  1. @josh
Commits on Apr 19, 2011
  1. @dhh

    Set a default precompile target to be the application.js, application…

    dhh authored
    ….css, and all non-css/js files (images etc)
Commits on Apr 15, 2011
  1. @josevalim
Commits on Mar 31, 2011
  1. @josh

    Unify sprockets config options

    josh authored
  2. @josh

    Merge branch 'master' into sprockets

    josh authored
Commits on Mar 30, 2011
  1. @josh

    Precompile configured assets

    josh authored
  2. @josh
  3. @josh
Commits on Mar 28, 2011
  1. @josh

    Add use_sprockets flag

    josh authored
Commits on Mar 27, 2011
  1. @sikachu @dhh

    Add `config.force_ssl` configuration which will load `Rack::SSL` midd…

    sikachu authored dhh committed
    …leware if set to true
    This will allow user to be able to force all requests to be under HTTPS protocol.
    This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
Commits on Mar 21, 2011
  1. @josh
Commits on Jan 5, 2011
  1. @tenderlove
Commits on Dec 9, 2010
  1. @josevalim
Commits on Oct 6, 2010
  1. @josevalim
Commits on Sep 30, 2010
  1. @drogus

    Added config.app_generators to allow configuring application's genera…

    drogus authored
    …tors from railties.
    With config.generators becomes a way to configure generators
    for current instance only. For example:
    module Blog
      class Engine < Rails::Engine
        config.generators do |g|
          g.orm :active_record
        config.app_generators do |g|
          g.test_framework :rspec
    such definition sets :active_record as orm for engine and :rspec
    as test_framework for application. The values set with app_generators
    can be overwritten in application using config.generators as you would
    normally do:
    module MyApp
      class Application < Rails::Application
        config.generators do |g|
          g.test_framework :test_unit
Commits on Sep 17, 2010
  1. @carllerche
Commits on Sep 10, 2010
  1. @drogus
Commits on Sep 3, 2010
  1. @drogus

    Get rid of static_paths method and instead configure paths for Action…

    drogus authored
    …Dispatch::Static in initializers
  2. @drogus
  3. @drogus
  4. @drogus
  5. @drogus

    Removed ActionDispatch::Static, but left empty MiddlewareStack to uni…

    drogus authored
    …fy app method between Engine and Application
  6. @drogus
  7. @drogus
  8. @drogus
Commits on Aug 15, 2010
  1. @wycats
Commits on Jun 27, 2010
  1. @josevalim

    A few changes were done in this commit:

    josevalim authored
    * Added :autoload to engines path API and redefine usage to be in sync with 6f83a50;
    * Do not autoload code in *lib* for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins);
    * Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController;
Commits on Jun 24, 2010
  1. @josevalim

    Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing f…

    josevalim authored
    …rameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
Commits on May 29, 2010
  1. @josevalim
  2. @wycats

    Removing Metal from Rails 3.

    wycats authored
    If you have existing Metals, you have a few options:
    * if your metal behaves like a middleware, add it to the
      middleware stack via config.middleware.use. You can use
      methods on the middleware stack to control exactly where
      it should go
    * if it behaves like a Rack endpoint, you can link to it
      in the router. This will result in more optimal routing
      time, and allows you to remove code in your endpoint
      that matches specific URLs in favor of the more powerful
      handling in the router itself.
    For the future, you can use ActionController::Metal to get
    a very fast controller with the ability to opt-in to specific
    controller features without paying the penalty of the full
    controller stack.
    Since Rails 3 is closer to Rack, the Metal abstraction is
    no longer needed.
Commits on May 18, 2010
  1. @josevalim
Commits on May 17, 2010
  1. @wycats
Commits on May 16, 2010
  1. @jeremy

    Moved encoding work in progress to a feature branch.

    jeremy authored
    This reverts commits af0d1a8 and 64d109e.
  2. @wycats

    Significantly improved internal encoding heuristics and support.

    wycats authored
    * Default Encoding.default_internal to UTF-8
    * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file
    * Read templates as BINARY, use default_external or template-wide magic comments
      inside the Template to set the initial encoding
      * This means that template handlers in Ruby 1.9 will receive Strings encoded
        in default_internal (UTF-8 by default)
    * Create a better Exception for encoding issues, and use it when the template
      source has bytes that are not compatible with the specified encoding
    * Allow template handlers to opt-into handling BINARY. If they do so, they
      need to do some of their own manual encoding work
    * Added a "Configuration Gotchas" section to the intro Rails Guide instructing
      users to use UTF-8 for everything
    * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid
      $KCODE value is used
    * Fixed a few tests that were assert() rather than assert_equal() and
      were caught by Minitest requiring a String for the message
    * Fixed a test where an assert_select was misformed, also caught by
      Minitest being more restrictive
    * Fixed a test where a Rack response was returning a String rather
      than an Enumerable
Something went wrong with that request. Please try again.