Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 1, 2015
  1. @robin850

    Display a more human readable list of reserved names

    robin850 authored
    Interpolating an array inside a String will call #inspect on it. Let's
    call #join to display a more human-readable error message.
Commits on Jun 11, 2015
  1. @spastorino

    http only => API only

    spastorino authored
  2. @jmbejar @spastorino

    Api only apps should include tmp and vendor folders

    jmbejar authored spastorino committed
  3. @spastorino
  4. @spastorino
  5. @spastorino
  6. @spastorino
  7. @spastorino
  8. @spastorino
  9. @spastorino
  10. @spastorino
Commits on May 30, 2015
  1. @yoongkang @chancancode

    Generate a `.keep` file in `tmp` folder

    yoongkang authored chancancode committed
    A lot of scripts assumes the existence of this folder and most would fail if it
    is absent.
    One example of this is `rake restart` (before the previous commit) – it tries to
    `touch tmp/restart.txt`, which would fail if `tmp` does not exist, which was the
    case for a freshly-cloned project as `tmp` is `.gitignored` by default.
    See #20299.
    [Yoong Kang Lim, Sunny Juneja]
Commits on May 5, 2015
  1. @seanlinsley
Commits on Feb 21, 2015
  1. @simi

    Require `belongs_to` by default.

    simi authored
    Deprecate `required` option in favor of `optional` for belongs_to.
Commits on Feb 6, 2015
  1. @fxn

    README.rdoc -> for newly generated applications

    fxn authored
    README.rdoc was generated to support the doc:app task. Now that
    this task is gone we can switch to Markdown, which is nowadays
    a better default.
Commits on Jan 29, 2015
  1. @rafaelfranca

    Merge pull request #18705 from mrgilman/skip-test

    rafaelfranca authored
    Update option to skip test in generators
Commits on Jan 28, 2015
  1. @senny

    introduce `ActiveSupport::Testing::FileFixtures`.

    senny authored
    It's a thin layer to provide easy access to sample files throughout
    test-cases. This adds the directory `test/fixtures/files` to newly
    generated applications.
  2. @mrgilman

    Update option to skip test in generators

    mrgilman authored
    Rails no longer generates Test::Unit files by default.
Commits on Jan 3, 2015
  1. @rafaelfranca

    Merge pull request #17227 from claudiob/explicitly-abort-callbacks

    rafaelfranca authored
    Introduce explicit way of halting callback chains by throwing :abort. Deprecate current implicit behavior of halting callback chains by returning `false` in apps ported to Rails 5.0. Completely remove that behavior in brand new Rails 5.0 apps.
Commits on Jan 2, 2015
  1. @claudiob

    Add config to halt callback chain on return false

    claudiob authored
    This stems from [a comment](rails#17227 (comment)) by @dhh.
    In summary:
    * New Rails 5.0 apps will not accept `return false` as a way to halt callback chains, and will not display a deprecation warning.
    * Existing apps ported to Rails 5.0 will still accept `return false` as a way to halt callback chains, albeit with a deprecation warning.
    For this purpose, this commit introduces a Rails configuration option:
    For new Rails 5.0 apps, this option will be set to `false` by a new initializer
    Rails.application.config.active_support.halt_callback_chains_on_return_false = false
    For existing apps ported to Rails 5.0, the initializers above will not exist.
    Even running `rake rails:update` will not create this initializer.
    Since the default value of `halt_callback_chains_on_return_false` is set to
    `true`, these apps will still accept `return true` as a way to halt callback
    chains, displaying a deprecation warning.
    Developers will be able to switch to the new behavior (and stop the warning)
    by manually adding the line above to their `config/application.rb`.
    A gist with the suggested release notes to add to Rails 5.0 after this
    commit is available at
Commits on Dec 22, 2014
  1. @rochefort

    Fix typo in nodoc

    rochefort authored
Commits on Nov 29, 2014
  1. @sferik
Commits on Aug 2, 2014
  1. @skanev

    Add an after_bundle callback in Rails templates

    skanev authored
    The template runs before the generation of binstubs – this does not
    allow to write one, that makes an initial commit to version control.
    It is solvable by adding an after_bundle callback.
Commits on May 17, 2014
  1. @rafaelfranca

    New applications should be created with json serializer

    rafaelfranca authored
    The fix introduced at 75ba742 were
    missing this case.
    To fix the original issue mentioned at that commit the correct is to
    remove update_config_files from the command list since we should not run
    both config_files command when creating a new application.
    Tests were added to make sure everything is working fine.
  2. @xtian

    Fix app generator test hanging.

    xtian authored
Commits on May 16, 2014
  1. @rafaelfranca

    foo :bomb:

    rafaelfranca authored
  2. @rafaelfranca

    Generate the cookies_serializer configuration with :marshal when upgr…

    rafaelfranca authored
    We were generating this configuration with :json what may break
    applications upgrating from Rails 4.0-.
    Now we always generate with a safer value and people is free to choose
    hybrid if they want.
    We don't generate with hybrid by default because there are some cases
    that can fail. These cases are explained on the upgrading guide.
Commits on Apr 11, 2014
  1. @matthewd

    Move assets precompile (and version) to an initializer

    matthewd authored
    sprockets-rails 2.1 needs the precompile list to be available in all
Commits on Mar 24, 2014
  1. @Houdini
Commits on Feb 14, 2014
  1. @tenderlove

    remove railties changes. fixes #14054

    tenderlove authored
    Squashed commit of the following:
    commit 96991e8e919edfb20cc4120bca4e36ed51175d57
    Author: Aaron Patterson <>
    Date:   Fri Feb 14 11:29:24 2014 -0800
        Revert "gems can be added or skipped from the template"
        This reverts commit 8beb42c.
    commit 35599c0e657245ef14ac0f28c9189ad16acf40e6
    Author: Aaron Patterson <>
    Date:   Fri Feb 14 11:26:53 2014 -0800
        Revert "oops, template replay needs to happen after bundle. :orz:"
        This reverts commit 9104702.
    commit f519c3902c313db8e906a49251c91643b8e6499e
    Author: Aaron Patterson <>
    Date:   Fri Feb 14 11:25:51 2014 -0800
        Revert "only ask for these ivars if the target responds to them"
        This reverts commit 656d412.
    commit aa524a9428e3e4c45fe221f10a66a08efb827ab5
    Author: Aaron Patterson <>
    Date:   Fri Feb 14 11:25:39 2014 -0800
        Revert "refactor generator tests to use block form of Tempfile"
        This reverts commit 6525182.
    commit 7d3740549fa4dfa62e3761f8d4bc6d6d441256e7
    Author: Aaron Patterson <>
    Date:   Fri Feb 14 11:25:25 2014 -0800
        Revert "add a more restricted codepath for templates fixes #13390"
        This reverts commit 2875b4a.
    commit 525df0af1001918986cdfce59539fd2d52c4f32c
    Author: Aaron Patterson <>
    Date:   Fri Feb 14 11:25:11 2014 -0800
        Revert "add a send so `apply` can be called.  Fixes #13510"
        This reverts commit c5034d6.
Commits on Jan 8, 2014
  1. @mehlah
Commits on Dec 12, 2013
  1. @guilleiguaran
  2. @guilleiguaran
Commits on Dec 3, 2013
  1. @jonleighton
Commits on Nov 5, 2013
  1. @senny

    Merge pull request #12752 from notalex/expand_path_refactoring

    senny authored
    Refactor File.expand_path usage to remove additional File.join
Something went wrong with that request. Please try again.