Permalink
Switch branches/tags
Commits on Dec 19, 2011
  1. Test for #3804

    committed Dec 19, 2011
Commits on Dec 10, 2011
  1. Ensure that files that compile to js/css are not compiled by default …

    …with `rake assets:precompile`
    
    This case was not tested and documentation was a bit confusing
    on that topic, so it was not obvious if current code
    works properly or not.
    committed Dec 10, 2011
  2. Fix AS test suite.

    josevalim committed Dec 10, 2011
  3. Merge pull request #3925 from guilleiguaran/extra-test-for-therubyrhino

    Add test to verify that therubyrhino isn't included when JRuby isn't used
    wycats committed Dec 10, 2011
  4. Merge pull request #3926 from guilleiguaran/skip-assets-group-if-spro…

    …ckets-skipped
    
    Skip assets groups if --skip-sprockets option is given
    wycats committed Dec 10, 2011
  5. Update partials documentation, partial_path is no longer generated us…

    …ing RecordIdentifier
    committed Dec 10, 2011
  6. * ActiveSupport::BufferedLogger#silence is deprecated. If you want to…

    … squelch
    
        logs for a certain block, change the log level for that block.
    
    *   ActiveSupport::BufferedLogger#open_log is deprecated.  This method should
        not have been public in the first place.
    
    *   ActiveSupport::BufferedLogger's behavior of automatically creating the
        directory for your log file is deprecated.  Please make sure to create the
        directory for your log file before instantiating.
    
    *   ActiveSupport::BufferedLogger#auto_flushing is deprecated.  Either set the
        sync level on the underlying file handle like this:
    
            f = File.open('foo.log', 'w')
            f.sync = true
            ActiveSupport::BufferedLogger.new f
    
        Or tune your filesystem.  The FS cache is now what controls flushing.
    
    *   ActiveSupport::BufferedLogger#flush is deprecated.  Set sync on your
        filehandle, or tune your filesystem.
    tenderlove committed Dec 10, 2011
Commits on Dec 9, 2011
  1. Merge pull request #3924 from laserlemon/readme-ext

    Add the .rdoc extension to the README that Rails generates for a new app
    tenderlove committed Dec 9, 2011
  2. Fix indentation

    committed Dec 9, 2011
  3. Allow to run migrations with given scope, with SCOPE=<scope>

    Scope in migrations can be defined by adding suffix in filename,
    like: 01_a_migration.blog.rb. Such migration have blog scope.
    
    Scope is automatically added while copying migrations from engine,
    so if you want to revert all of the migrations from given engine,
    you can just run db:migrate with SCOPE, like:
    
        rake db:migrate SCOPE=blog
    committed Dec 9, 2011
  4. Allow to filter migrations by passing a block

    Example:
      ActiveRecord::Migrator.migrate(path) do |migration|
        migration.name =~ /User/
      end
    
    The above example will migrate only migrations with User in
    the name
    committed Dec 9, 2011
  5. Fix extend -> include.

    josevalim committed Dec 9, 2011
  6. don't need a begin / end.

    tenderlove committed Dec 9, 2011
  7. Make ActiveSupport::Benchmarkable a default module for ActionControll…

    …er::Base, so the #benchmark method is once again available in the controller context like it used to be *DHH*
    dhh committed Dec 9, 2011
  8. Run also migrations in subdirectories.

    With this commit, ActiveRecord will also look for migrations
    in db/migrate subdirectories.
    committed Dec 9, 2011
  9. 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
  10. 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