Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 3, 2013
  1. @josevalim

    Bring config.allow_concurrency back

    josevalim authored
    Since the Rack::Lock still exists in development,
    let's provide a way to disable it explicitly.
Commits on Mar 2, 2013
  1. @josevalim
Commits on Aug 21, 2012
  1. @josevalim
  2. @josevalim

    Get rid of config.preload_frameworks in favor of config.eager_load_na…

    josevalim authored
    …mespaces
    
    The new option allows any Ruby namespace to be registered and set
    up for eager load. We are effectively exposing the structure existing
    in Rails since v3.0 for all developers in order to make their applications
    thread-safe and CoW friendly.
  3. @josevalim

    Remove allow_concurrency as a flag

    josevalim authored
    The flag was mainly used to add a Rack::Lock middleware to
    the stack, but the only scenario the lock is desired is in
    development.
    
    If you are deploying on a not-threaded server, the Rack::Lock
    does not provide any benefit since you don't have concurrent
    accesses. On the other hand, if you are on a threaded server,
    you don't want the lock, since it defeats the purpose of using
    a threaded server.
    
    If there is someone out there, running on a thread server
    and does want a lock, it can be added to your environment
    as easy as: `use Rack::Lock`
  4. @josevalim

    Allow users to choose when to eager_load the application or not.

    josevalim authored
    Previously, the eager load behavior was mostly coupled to
    config.cache_classes, however this was suboptimal since in
    some environments a developer may want to cache classes but
    not necessarily load them all on boot (for example, test env).
    
    This pull request also promotes the use of config.eager_load
    set to true by default in production. In the majority of the
    cases, this is the behavior you want since it will copy most
    of your app into memory on boot (which was also the previous
    behavior).
    
    Finally, this fix a long standing Rails bug where it was
    impossible to access a model in a rake task when Rails was
    set as thread safe.
Commits on Apr 28, 2012
  1. @josevalim

    Use Rails::Queueing::Queue instead of Queue so people can build their…

    josevalim authored
    … own consumers around stdlib's Queue
Commits on Dec 16, 2011
  1. @josevalim
Commits on Dec 13, 2011
  1. @josevalim

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

    josevalim authored
    …(for instance, hooking on fsevents).
  2. @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
Commits on Oct 2, 2011
  1. @josevalim

    Provide initialize_on_precompile which, when set to false, does not i…

    josevalim authored
    …nitialize the app for precompilation. Defaults to true.
Commits on Jul 13, 2011
  1. @josevalim

    Use cache/assets instead.

    josevalim authored
  2. @josevalim

    assets.cache_store now defaults to filesystem. You will want to share…

    josevalim authored
    … tmp/assets_cache between deploys.
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 15, 2011
  1. @josevalim
Commits on Dec 9, 2010
  1. @josevalim
Commits on Oct 6, 2010
  1. @josevalim
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
Commits on May 18, 2010
  1. @josevalim
Commits on May 16, 2010
  1. @josevalim
Commits on Apr 29, 2010
  1. @josevalim
  2. @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 22, 2010
  1. @josevalim

    Clean up the config object in ActionPack. Create config_accessor whic…

    josevalim authored
    …h just delegates to the config object, reducing the number of deprecations and add specific tests.
Commits on Apr 8, 2010
  1. @josevalim

    Fix a bug in ActionDispatch::Static where Rails cannot find assets if…

    josevalim authored
    … started in another directory which is not the RAILS_ROOT.
Commits on Apr 7, 2010
  1. @josevalim
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. @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 Feb 1, 2010
  1. @josevalim
Commits on Jan 28, 2010
  1. @josevalim

    Add reloadable specific for engines and move environment to applicati…

    josevalim authored Carl Lerche committed
    …on paths.
    
    Signed-off-by: Carl Lerche <carllerche@mac.com>
Commits on Jan 23, 2010
  1. @josevalim
Something went wrong with that request. Please try again.