Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 23, 2012
  1. @spastorino

    Remove ActionDispatch::Head middleware in favor of Rack::Head

    spastorino authored
    Closes #7110 there's more work to do on rack-cache issue 69
Commits on Jul 19, 2012
  1. @tenderlove

    adding Rails::Queueing::Container

    tenderlove authored
    This allows us to do:
    
    In your configuration:
    Rails.queue[:image_queue] = SomeQueue.new
    Rails.queue[:mail_queue]  = SomeQueue.new
    
    In your app code:
    Rails.queue[:mail_queue].push MailJob.new
    
    Both jobs pushed to the same default queue
    Rails.queue.push DefaultJob.new
    Rails.queue[:default].push DefaultJob.new
Commits on Jul 7, 2012
  1. @mattt @schneems

    move route_inspector to actionpack

    mattt authored schneems committed
    this is so we can show route output in the development when we get a routing error. Railties can use features of ActionDispatch, but ActionDispatch should not depend on Railties.
Commits on Jun 29, 2012
  1. @josevalim

    Remove unused responsibilities and add a few load definitions to engines

    josevalim authored
    Since plugins were removed, we can clean up a few methods in engines.
    We also use this opportunity to move `load_console`, `load_tasks` and
    `load_runner` to Rails::Engine. This means that, if someone wants to
    improve script/rails for engines to support console or runner commands,
    part of the work is already done.
  2. @josevalim
Commits on May 29, 2012
  1. @kennyj

    Add support runner hook.

    kennyj authored
Commits on May 27, 2012
  1. @drogus

    Fix railties_order when application object is passed

    drogus authored
    railites_order method, introduced in 40b19e0, had a bug that was causing
    loading application instance twice in initializers if railties_order
    already included application instance. So for example
    
        railties_order = [Foo::Engine, :main_app, Bar::Engine]
    
    would result in such railties array:
    
        [MyApp::Application, Foo::Engine, MyAppApplication, Bar::Engine]
    
    In order to fix it, we need to check for existence of application in
    both railties_order and railties arrays.
Commits on May 23, 2012
  1. @tenderlove
Commits on May 22, 2012
  1. @tenderlove
Commits on May 4, 2012
  1. @carlosantoniodasilva

    Allow configuring a different queue consumer

    carlosantoniodasilva authored
    Also make sure to not use default queue consumer with custom queue
    implementation. It is up to the new queue implementation to
    start / shutdown the consumer.
Commits on Apr 28, 2012
  1. @carlosantoniodasilva

    Define only writer method for queue, as reader is declared

    carlosantoniodasilva authored
    Remove deprecation warning of method redefined.
Commits on Apr 27, 2012
  1. @tenderlove
  2. @wycats

    Initial queue implementation

    wycats authored
Commits on Mar 31, 2012
  1. @spastorino

    Remove not needed requires

    spastorino authored
Commits on Mar 27, 2012
  1. @franckverrot

    Rails.initialized? can be called at any time without raising an excep…

    franckverrot authored
    …tion [Closes #2507]
    
    Changes:
    
    * `Rails.initialized=` has been removed
    * `Rails.initialized?` and `Rails.application.initialized?` are now
    * delegating to `MyApp::Application.initialized?`
Commits on Mar 17, 2012
  1. @rafaelfranca
Commits on Mar 14, 2012
  1. @josevalim
Commits on Mar 10, 2012
  1. @carlosantoniodasilva

    Change api_only to http_only

    carlosantoniodasilva authored
    [Carlos Antonio da Silva & Santiago Pastorino]
Commits on Mar 5, 2012
  1. @spastorino
Commits on Mar 3, 2012
  1. @drogus

    Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #…

    drogus authored
    …5225)
    
    This makes rails behave properly when you serve static assets
    and you have X-Sendfile headers enabled. Nevertheless in most
    cases you should not rely on that and serve static assets with
    a webserver like Apache or Nginx (as you already have it in
    place anyway if you use X-Sendfile)
Commits on Jan 28, 2012
  1. @ndbroadbent
Commits on Jan 15, 2012
  1. @ndbroadbent

    Refactored watchable_args and build_original_fullpath methods in rail…

    ndbroadbent authored
    …ties/lib/rails/application.rb
Commits on Jan 13, 2012
  1. @josevalim
Commits on Jan 3, 2012
  1. @spastorino

    Rails::Plugin has gone

    spastorino authored
Commits on Dec 24, 2011
  1. @vijaydev

    A few doc changes

    vijaydev authored
Commits on Dec 20, 2011
  1. @drogus

    Add ORIGINAL_FULLPATH to env

    drogus authored
    This behaves similarly to REQUEST_URI, but
    we need to implement it on our own because
    REQUEST_URI is not reliable.
    
    Note that since PATH_INFO does not contain
    information about trailing question mark,
    this is not 100% accurate, for example
    `/foo?` will result in `/foo` in ORIGINAL_FULLPATH
Commits on Dec 16, 2011
  1. @josevalim
  2. @josevalim
Commits on Dec 15, 2011
  1. @josevalim
Commits on Dec 13, 2011
  1. @josevalim
  2. @josevalim
  3. @josevalim

    Add config.file_watcher so developers can provide their own watchers …

    josevalim authored
    …(for instance, hooking on fsevents).
  4. @josevalim

    Revert "Provide a unique point for running initializers."

    josevalim authored
    This reverts commit c2e3ce8.
    
    Conflicts:
    
    	railties/lib/rails/application/configuration.rb
    	railties/lib/rails/application/finisher.rb
    	railties/lib/rails/engine.rb
Commits on Dec 12, 2011
  1. @josevalim

    Speed up development by only reloading classes if dependencies files …

    josevalim authored
    …changed.
    
    This can be turned off by setting `config.reload_classes_only_on_change` to false.
    
    Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading.
    
    Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
  2. @josevalim
Something went wrong with that request. Please try again.