Switch branches/tags
Commits on Dec 9, 2011
  1. Run also migrations in subdirectories.

    With this commit, ActiveRecord will also look for migrations
    in db/migrate subdirectories.
    committed Dec 9, 2011
  2. Ignore origin comment when checking for duplicates on Migration.copy

    49ebe51 fixed copying migrations, but existing migrations would still
    trigger warnings. The proper way to compare migrations is to ignore
    origin lines - if migration is identical it means that we can
    silently skip it, regardless where it comes from.
    committed Dec 9, 2011
  3. Fix copying migrations from engines

    There was a bug in ActiveRecord::Migration.copy method, which
    prevented adding special comment about the origin of migration.
    Because of that, the check if migration is identical or if it's
    not and should be skipped was always saying that migration is
    skipped, which was causing additional useless warnings about
    skipped migrations.
    committed Dec 8, 2011
Commits on Dec 8, 2011
  1. Move symbolize keys to the inner options as we can assume url_options…

    … will be properly symbolized.
    josevalim committed Dec 8, 2011
  2. fix nodocs

    vijaydev committed Dec 8, 2011
  3. fix comments

    vijaydev committed Dec 8, 2011
  4. minor text change

    vijaydev committed Dec 8, 2011
  5. Remove NilClass whiners feature.

    Removing this feature causes boost in performance when using Ruby 1.9.
    Ruby 1.9 started to do implicit conversions using `to_ary` and `to_str`
    in some STDLIB methods (like Array#join). To do such implicit conversions,
    Ruby 1.9 always dispatches the method and rescues the NoMethodError exception
    in case one is raised.
    Therefore, since the whiners feature defined NilClass#method_missing, such
    implicit conversions for nil became much, much slower. In fact, just defining
    NilClass#method_missing (even without the whiners feature) already causes a
    massive slow down. Here is a snippet that shows such slow down:
        require "benchmark"
        Benchmark.realtime { 1_000.times { [nil,nil,nil].join } }
        class NilClass
          def method_missing(*args)
            raise NoMethodError
        Benchmark.realtime { 1_000.times { [nil,nil,nil].join } }
    josevalim committed Dec 8, 2011
  6. fixing eval'd line numbers.

    tenderlove committed Dec 8, 2011
  7. Merge pull request #3909 from laserlemon/patch-1

    Add dependency status (a la build status) to the README
    fxn committed Dec 8, 2011
  8. Merge pull request #3908 from kennyj/should_use_default_charset

    Fix a failure in railties on ruby 1.8.x
    josevalim committed Dec 8, 2011
  9. Fix testcase an error on ruby 1.8.x.

    In Ruby 1.8.x, config.encoding sets $KCODE.
    Therefore, the possible values are UTF8, SJIS, or EUC.
    And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding.
    kennyj committed Dec 8, 2011
  10. Merge pull request #3906 from kennyj/fix_warnings_for_params_wrapper_…

    Fix warning for params_wrapper_test.rb
    josevalim committed Dec 8, 2011