Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 27, 2012
  1. @wycats

    Initial queue implementation

    wycats authored
Commits on Apr 25, 2012
  1. @wycats

    Remove default match without specified method

    wycats authored
    In the current router DSL, using the +match+ DSL
    method will match all verbs for the path to the
    specified endpoint.
    In the vast majority of cases, people are
    currently using +match+ when they actually mean
    +get+. This introduces security implications.
    This commit disallows calling +match+ without
    an HTTP verb constraint by default. To explicitly
    match all verbs, this commit also adds a
    :via => :all option to +match+.
    Closes #5964
Commits on May 15, 2010
  1. @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
    * 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.
Something went wrong with that request. Please try again.