Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 16, 2013
  1. @jeremywrowe

    Fixes improper database name when a '.' is included while creating a …

    jeremywrowe authored
    …new rails
    application. EG: `rails new`
Commits on Jan 10, 2013
  1. @senny
Commits on Jan 8, 2013
  1. @fxn
Commits on Jan 7, 2013
  1. @fxn
  2. @jeremy

    Introduce ./bin for your app's executables: bin/bundle, bin/rails, bi…

    jeremy authored
    …n/rake. Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
Commits on Dec 18, 2012
  1. @dhh

    Add app/models/concerns and app/controllers/concerns to the default d…

    dhh authored
    …irectory structure and load path
Commits on Dec 11, 2012
  1. @schneems

    Use Rails to Render Default Index Page

    schneems authored
    This is an alternative implementation to #7771 thanks to the advice of @spastorino
    Rails is a dynamic framework that serves a static index.html by default. One of my first questions ever on IRC was solved by simply deleting my public/index.html file. This file is a source of confusion when starting as it over-rides any set "root" in the routes yet it itself is not listed in the routes. By making the page dynamic by default we can eliminate this confusion.
    This PR moves the static index page to an internal controller/route/view similar to `rails/info`. When someone starts a rails server, if no root is defined, this route will take over and the "dynamic" index page from rails/welcome_controller will be rendered. These routes are only added in development. If a developer defines a root in their routes, it automatically takes precedence over this route and will be rendered, with no deleting of files required. 
    In addition to removing this source of confusion for new devs, we can now use Rails view helpers to build and render this page. While not the primary intent, the added value of "dogfooding" should not be under-estimated.
    The prior PR #7771 had push-back since it introduced developer facing files. This PR solves all of the same problems, but does not have any new developer facing files (it actually removes one). 
    cc/ @wsouto, @dickeyxxx, @tyre, @ryanb, @josevalim, @maxim, @subdigital, @steveklabnik
    ATP Railties and Actionpack.
Commits on Oct 14, 2012
  1. @robin850
Commits on Oct 10, 2012
  1. @vijaydev

    Merge branch 'master' of

    vijaydev authored
Commits on Oct 9, 2012
  1. @blowmage

    Update test locations

    blowmage authored
    Change the default test locations to avoid confusion around the common
    testing terms "unit" and "functional".
    Add new rake tasks for the new locations, while maintaining backwards
    compatibility with the old rake tasks.
    New testing locations are as follows:
        app/models -> test/models (was test/units)
        app/helpers -> test/helpers (was test/units/helpers)
        app/controllers -> test/controllers (was test/functional)
        app/mailers -> test/mailers (was test/functional)
Commits on Oct 7, 2012
  1. update Rails::Generators docs [ci skip]

    Francesco Rodriguez authored
Commits on Sep 13, 2012
  1. @derekprior

    change app/plugin generators to be more SCM agnostic

    derekprior authored Francesco Rodriguez committed
    Users of other SCM's can now generate rails
    apps that will add the "empty" directories to source control,
    but will not have a useless .gitignore or mis-named .gitkeep
    * Change `rails new` and `rails plugin new` generators to name
      the `.gitkeep` as `.keep` in a more SCM-agnostic way.
    * Change `--skip-git` option to only skip the `.gitignore` file
      and still generate the `.keep` files.
    * Add `--skip-keeps` option to skip the `.keep` files.
    It closes #2800.
Commits on Mar 21, 2012
  1. @ivanvanderbyl @malclocke

    Added a generator option to remove the public/index.html file when ge…

    ivanvanderbyl authored malclocke committed
    …nerating a new Rails application
    The option is:
    -i, [--skip-index-html]        # Skip public/index.html file
Commits on Mar 14, 2012
  1. @josevalim

    Remove --http.

    josevalim authored
  2. @carlosantoniodasilva @spastorino

    Do not generate app/views and sprockets entries on http app

    carlosantoniodasilva authored spastorino committed
    [Carlos Antonio da Silva & Santiago Pastorino]
  3. @carlosantoniodasilva @spastorino

    Rename http-only app generator option to http

    carlosantoniodasilva authored spastorino committed
    [Carlos Antonio da Silva & Santiago Pastorino]
  4. @carlosantoniodasilva @spastorino

    Move http only option to AppGenerator

    carlosantoniodasilva authored spastorino committed
    [Carlos Antonio da Silva & Santiago Pastorino]
Commits on Jan 3, 2012
  1. @spastorino

    Rails::Plugin has gone

    spastorino authored
Commits on Dec 9, 2011
  1. @laserlemon
Commits on Oct 19, 2011
  1. @josevalim
Commits on Oct 11, 2011
  1. Added method to create vendor/assets/javascripts, added it to methods…

    Sasha Gerrand authored
    … called within vendor method
Commits on Sep 12, 2011
  1. @tenderlove
Commits on Jul 13, 2011
  1. @josevalim

    Use cache/assets instead.

    josevalim authored
  2. @josevalim

    assets.cache_store now defaults to filesystem. You will want to share…

    josevalim authored
    … tmp/assets_cache between deploys.
Commits on Jun 16, 2011
  1. @arunagw
Commits on May 23, 2011
  1. @jonleighton

    Replace references to ActiveSupport::SecureRandom with just SecureRan…

    jonleighton authored
    …dom, and require 'securerandom' from the stdlib when active support is required.
Commits on May 14, 2011
  1. @fxn

    Merge branch 'master' of git://

    fxn authored
Commits on May 12, 2011
  1. @amatsuda

    eliminating the noise

    amatsuda authored
  2. @fxn

    application and plugin generation run bundle check unless --skip-gemfile

    fxn authored
    The purpose of this feature is that the user knows whether
    dependencies are satisfied. In particular, if they are not
    he will be warned upfront, rather than finding out himself
    in an abrupt way by trying to run something.
  3. @amatsuda

    Revert "Delegate everything to the generator"

    amatsuda authored
    This reverts commit 0904e82.
    reason: rake rails:update:scripts fails due to this change
Commits on May 11, 2011
  1. @vijaydev

    fix spellings

    vijaydev authored
Commits on May 4, 2011
  1. @fxn

    restores the -j option, but now it accepts the name of any library

    fxn authored
    If passed "foo", a gem "foo-rails" is added to the Gemfile
    and "foo" and "foo_ujs" are required in the application
    JavaScript manifest.
Commits on Apr 30, 2011
  1. @fxn

    Prototype and Scriptaculous are no longer vendored, but provided by p…

    fxn authored
    …rototype-rails from now on, also the -j option of the application generator is removed
Commits on Apr 19, 2011
  1. @dhh
Commits on Apr 16, 2011
  1. @drogus
Something went wrong with that request. Please try again.