Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 26, 2011
  1. @parndt

    This fixes rake for me in RefineryCMS. Otherwise, I get: undefined me…

    parndt authored
    …thod 'prerequisites' for nil:NilClass (from rspec)
Commits on May 23, 2011
  1. @bilts @tenderlove

    Make Rake::DSL methods available within Railtie rake_tasks block

    bilts authored tenderlove committed
    Fixes incompatibility introduced by Rake 0.9.0
Commits on Feb 25, 2011
  1. @sikachu @tenderlove

    Always use ActionDispatch::ShowExceptions middleware [#6462 state:res…

    sikachu authored tenderlove committed
    …olved]
    
    This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.
    
    (This is a backported version to 3-0-stable)
  2. @sikachu @tenderlove

    Make sure that we set `env["action_dispatch.show_exceptions"]`

    sikachu authored tenderlove committed
    This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
    
    (This is the backported version to 3-0-stable)
Commits on Aug 9, 2010
  1. @wycats
Commits on Jul 28, 2010
  1. @wycats

    Add a header that tells Internet Explorer (all versions) to use the b…

    wycats authored
    …est available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin.
    
    This guarantees that the best available standards support will be used on the client.
Commits on Jul 18, 2010
  1. @josevalim

    Add console hook to force ActiveRecord::Base to be loaded when consol…

    josevalim authored
    …e starts avoiding reference loops.
Commits on Jul 2, 2010
  1. @josevalim
Commits on Jul 1, 2010
  1. @josevalim

    Avoid calls to Rails::Application since this is not the official API.

    josevalim authored
    Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
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. @jeremy
  2. @jeremy
Commits on Jun 23, 2010
  1. @fxn
Commits on Jun 20, 2010
  1. @josevalim
  2. @josevalim
  3. @josevalim
Commits on Jun 1, 2010
  1. @josevalim

    Add lib to load paths when application is inherited to be able to loa…

    josevalim authored
    …d lib code during configuration.
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 15, 2010
  1. @josevalim

    Expose remaining hooks to minimize the need for a Railtie based on fe…

    josevalim authored
    …edback from plugin developers.
  2. @wycats

    Reorganized initializers a bit to enable better hooks for common case…

    wycats authored
    …s without the need for Railtie. Specifically, the following hooks were added:
    
    * before_configuration: this hook is run immediately after the Application class 
      comes into existence, but before the user has added any configuration. This is
      the appropriate place to set configuration for your plugin
    * before_initialize: This is run after all of the user's configuration has completed,
      but before any initializers have begun (in other words, it runs right after
      config/environments/{development,production,test}.rb)
    * after_initialize: This is run after all of the initializers have run. It is an
      appropriate place for forking in a preforking setup
    
    Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
Commits on Apr 29, 2010
  1. @josevalim

    The rake task :environment now loads config/environment.rb instead of…

    josevalim authored
    … initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
Commits on Apr 26, 2010
  1. @josevalim

    Ensure application rake tasks and generators are loaded after the one…

    josevalim authored
    …s specified in railties/engines/rails. [#4471 state:resolved]
Commits on Apr 5, 2010
  1. @josevalim

    Rename config.cookie_secret to config.secret_token and pass it as con…

    josevalim authored
    …figuration in request.env. This is another step forward removing global configuration.
Commits on Mar 26, 2010
  1. @wycats
  2. @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.
Commits on Mar 20, 2010
  1. @josh

    Move railties/builtin into lib

    josh authored
Commits on Mar 12, 2010
  1. @lifo

    Merge remote branch 'mainstream/master'

    lifo authored
    Conflicts:
    	activerecord/lib/active_record/base.rb
    	railties/lib/rails/configuration.rb
    	railties/lib/rails/log_subscriber.rb
Commits on Mar 8, 2010
  1. @wycats
Commits on Mar 3, 2010
Commits on Feb 26, 2010
  1. Get Railties tests passing

    Carlhuda authored
Commits on Feb 21, 2010
  1. @MSch

    Use ActionDispatch::Routing everywhere

    MSch authored Yehuda Katz committed
  2. @MSch

    Typo

    MSch authored Yehuda Katz committed
Commits on Feb 2, 2010
  1. @josevalim
Commits on Jan 28, 2010
  1. @josevalim

    Add more tests to some key points in Railties.

    josevalim authored Carl Lerche committed
    Signed-off-by: Carl Lerche <carllerche@mac.com>
Something went wrong with that request. Please try again.