Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 10, 2011
  1. @dhh

    Need it declared too

    dhh authored
Commits on Apr 15, 2011
  1. @josevalim
  2. @josevalim
Commits on Nov 2, 2010
  1. @drogus

    Make deep copy of application generators on engine initialization.

    drogus authored
    Otherwise nested hashes will be same objects for both application and engine,
    which will result in overwriting each others values on changes.
  2. @drogus

    Use application's generators defaults as engine defaults to not force…

    drogus authored
    … users to manually set it
Commits on Oct 6, 2010
  1. @josevalim
Commits on Oct 2, 2010
  1. @josevalim
Commits on Sep 20, 2010
  1. @drogus @josevalim

    Add helper for loading seed data for engine and application

    drogus authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Sep 3, 2010
  1. @drogus
  2. @drogus

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

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

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

    drogus authored
    …fy app method between Engine and Application
  7. @drogus
  8. @drogus
  9. @drogus
Commits on Aug 4, 2010
  1. @josevalim

    Revert "Put lib back on the autoload path"

    josevalim authored
    This was causing engines/gems to eager load everything in lib. Another fix is comming soon.
    
    This reverts commit 02a5842.
Commits on Aug 3, 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 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 23, 2010
  1. @fxn
Commits on Jun 20, 2010
  1. @fxn

    Revert "files in the lib directory are no longer autoloaded"

    fxn authored
    This patch is not consistent since it leaves similar
    directories in load_paths, needs more thought.
    
    This reverts commit b5fe014.
  2. @fxn

    files in the lib directory are no longer autoloaded

    fxn authored
    Conceptually, the lib directory is closer 3rd party libraries
    than to the application itself. Thus, Rails adds it to Ruby's
    load path ($LOAD_PATH, $:) but it is no longer included in
    dependencies' load paths.
    
    To enable autoloading back put this in your config/application.rb
    
      config.load_paths += %W( #{config.root}/lib )
Commits on May 29, 2010
  1. @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 Apr 10, 2010
  1. @josevalim
Commits on Apr 5, 2010
  1. @josevalim
  2. @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 6, 2010
  1. @josevalim

    Add mailers to paths in case someone wants to access it directly and …

    josevalim authored
    …ensures deep nesting works in controllers.
Commits on Mar 5, 2010
  1. Deprecated ActionController::Base.session_options= and ActionControll…

    Carlhuda authored
    …er::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
Commits on Mar 4, 2010
  1. Start refactoring the method of configuring ActionView

    Carlhuda authored Carl Lerche committed
Commits on Feb 6, 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 25, 2010
  1. @josevalim

    Add active_model/railtie back to generated boot.rb, add models back t…

    josevalim authored
    …o paths, load active_support/railtie since we need it and ensure default logger is set before config.
Commits on Jan 24, 2010
  1. @josevalim
Something went wrong with that request. Please try again.