Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 16, 2010
  1. @wycats

    Significantly improved internal encoding heuristics and support.

    wycats authored
    * Default Encoding.default_internal to UTF-8
    * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file
    * Read templates as BINARY, use default_external or template-wide magic comments
      inside the Template to set the initial encoding
      * This means that template handlers in Ruby 1.9 will receive Strings encoded
        in default_internal (UTF-8 by default)
    * Create a better Exception for encoding issues, and use it when the template
      source has bytes that are not compatible with the specified encoding
    * Allow template handlers to opt-into handling BINARY. If they do so, they
      need to do some of their own manual encoding work
    * Added a "Configuration Gotchas" section to the intro Rails Guide instructing
      users to use UTF-8 for everything
    * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid
      $KCODE value is used
    * Fixed a few tests that were assert() rather than assert_equal() and
      were caught by Minitest requiring a String for the message
    * Fixed a test where an assert_select was misformed, also caught by
      Minitest being more restrictive
    * Fixed a test where a Rack response was returning a String rather
      than an Enumerable
  2. @kossnocorp @josevalim

    Added rails command aliases (s g c db) to reserved words in app gener…

    kossnocorp authored josevalim committed
    …ator [#4602 state:resolved]
    Signed-off-by: José Valim <>
  3. @rizwanreza @josevalim

    Takes out stale methods relating to edge_rails_version

    rizwanreza authored josevalim committed
    Signed-off-by: José Valim <>
  4. @josevalim
  5. @kossnocorp @josevalim

    Fix Hash#index deprecated warning in 1.9.x [#4600 state:resolved]

    kossnocorp authored josevalim committed
    Signed-off-by: José Valim <>
  6. @josevalim
  7. @jeffkreeftmeijer @josevalim

    Added assert_attribute_type to clean up GeneratedAttributeTest [#2377

    jeffkreeftmeijer authored josevalim committed
    Signed-off-by: José Valim <>
  8. @josevalim
  9. @jeffkreeftmeijer @josevalim

    using :time_select when the attribute type is :time in the scaffold g…

    jeffkreeftmeijer authored josevalim committed
    …enerator. [#2377 state:resolved]
    Signed-off-by: José Valim <>
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. @josevalim

    Ensure that eager_load actually takes place just after the middleware…

    josevalim authored
    … stack is built by using another pattern.
    Also create a engine_blank_point initializer to ensure any :before or :after hooks defined inside engines won't move the configuration initializers to other places.
  3. @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.
  4. @jeroenvandijk @josevalim

    Added Rake task rails:templates:copy to copy templates for customizat…

    jeroenvandijk authored josevalim committed
    …ion [#4574 state:resolved]
    Signed-off-by: José Valim <>
  5. @adrianss @josevalim

    Bundler deprecated options in Gemfile with application template using…

    adrianss authored josevalim committed
    … method "gem" [#4534 state:resolved]
    Signed-off-by: José Valim <>
Commits on May 6, 2010
Commits on May 5, 2010
  1. @wycats

    Update hidden namespace mechanism to work better with alternate choic…

    wycats authored
    …es and to support full namespaces (not just entire groups)
Commits on May 4, 2010
  1. @brianmario @jeremy

    add support for mysql2 adapter to dbconsole

    brianmario authored jeremy committed
    [#4532 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on May 3, 2010
  1. @josevalim

    Make backtrace_cleaner work as expected. Prior to this patch, the Ful…

    josevalim authored
    …l Trace rarely showed the full trace. Also, increase performance considerably.
Commits on May 2, 2010
  1. @jaggederest @josevalim

    Change event namespace ordering to most-significant first [#4504 stat…

    jaggederest authored josevalim committed
    More work still needs to be done on some of these names
    (render_template.action_view and render_template!.action_view particularly)
    but this allows (for example) /^sql/ to subscribe to all
    the various ORMs without further modification
    Signed-off-by: José Valim <>
Commits on May 1, 2010
  1. @fxn

    Merge commit 'rails/master'

    fxn authored
Commits on Apr 30, 2010
  1. Fix a bug in the generators from the previous commit

    Carl Lerche authored
  2. Provide a mechanism for overriding the entire generator via a class t…

    Carlhuda authored
    …hat handles the individual elements of generating a new Rails application
  3. Set up app generator class to make it easier to for alt-stacks to ove…

    Carlhuda authored
    …rride targeted areas
  4. @josevalim
Commits on Apr 29, 2010
  1. Move ActionMailer generator to AM

    Carlhuda authored
  2. @jeremy
  3. @jeremy
  4. @r00k

    Small grammatical fix.

    r00k authored
  5. @r00k

    Make output match code.

    r00k authored
  6. @r00k
  7. @josevalim
  8. @ravinderrana @josevalim

    warn user if options are given before application name [#3435 state:r…

    ravinderrana authored josevalim committed
    Signed-off-by: José Valim <>
  9. @josevalim
  10. @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 28, 2010
  1. @jeremy
Something went wrong with that request. Please try again.