Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add --no-rc description on the command line | robertomiranda | 2013-02-02 | 1 | -0/+3 |
| | |||||
* | Add -B alias for --skip-bundle | Jiri Pospisil | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Revert "Install binstubs by default" | Jeremy Kemper | 2012-12-28 | 1 | -1/+1 |
| | | | | | | This reverts commit f34c27a452418d8aa17f92bb0fd7ae97b5f7e252. We'll be taking a different tack on this with new `bundle binstubs <gem>` support. | ||||
* | Revert "Detect rbenv and update the shebang" | Jeremy Kemper | 2012-12-28 | 1 | -8/+1 |
| | | | | | This reverts commit 7173c4f931c9026bd3bc0b644d93dae744433f09. This reverts commit a562f9fa09967eba26dff1c3bc8aa85b6f0a72ff. | ||||
* | Detect rbenv and update the shebang | Yehuda Katz | 2012-12-22 | 1 | -1/+8 |
| | |||||
* | Install binstubs by default | Yehuda Katz | 2012-12-22 | 1 | -1/+1 |
| | |||||
* | Integrate Journey into Action Dispatch | Andrew White | 2012-12-19 | 1 | -2/+0 |
| | | | | | | | | Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49. | ||||
* | Use Rails to Render Default Index Page | schneems | 2012-12-10 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | 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. | ||||
* | USe the released version of sprockets-rails in a new Rails 4 application | Rafael Mendonça França | 2012-10-27 | 1 | -1/+1 |
| | |||||
* | We don't need this anymore since we had a sprockets-rails release | Rafael Mendonça França | 2012-10-19 | 1 | -3/+0 |
| | |||||
* | Fix the app_generator and plugin_new tests | Rafael Mendonça França | 2012-10-18 | 1 | -0/+3 |
| | |||||
* | Change back to official sprockets-rails | Joshua Peek | 2012-10-17 | 1 | -2/+2 |
| | |||||
* | Switch to new sprockets-rails plugin | Joshua Peek | 2012-10-15 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-10-11 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb | ||||
| * | update Rails::Generators docs [ci skip] | Francesco Rodriguez | 2012-10-07 | 1 | -1/+1 |
| | | |||||
* | | Inline comment | David Heinemeier Hansson | 2012-10-08 | 1 | -3/+1 |
| | | |||||
* | | Strip heredoc to not generate the Gemfile with trailing spaces | Rafael Mendonça França | 2012-10-04 | 1 | -2/+2 |
| | | |||||
* | | Turn turbolinks on by default for new apps | David Heinemeier Hansson | 2012-10-04 | 1 | -1/+8 |
|/ | |||||
* | change app/plugin generators to be more SCM agnostic | Derek Prior | 2012-09-12 | 1 | -35/+38 |
| | | | | | | | | | | | | | | | | | 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 files. * 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. | ||||
* | require bundle in the app generator | Xavier Noria | 2012-09-01 | 1 | -0/+1 |
| | | | | | | | The app generator is not generally run under bundler, but the Bundler constant is used here. In particular you cannot create --dev apps without this. | ||||
* | Use Bundler.with_clean_env instead of custom code | Piotr Sarnacki | 2012-08-31 | 1 | -6/+3 |
| | |||||
* | Revert "Revert changes related to `bundle install` fixes in `rails new`" | Piotr Sarnacki | 2012-08-31 | 1 | -1/+10 |
| | | | | | | | | The cause of the previous revert was bug in bundler that made it hard to make railties test work. Fix for bundler was recently pushed to github, so now we can safely get back to the original commit. This reverts commit 0f5cc34ab58cda99d1401ecc82e1ebb873838dd7. | ||||
* | Update to activerecord-deprecated_finders on generator | Miguel Herranz | 2012-08-17 | 1 | -2/+2 |
| | |||||
* | Changed symbol platform to platforms for the commented out call to gem ↵ | Martin O'Connor | 2012-05-30 | 1 | -1/+1 |
| | | | | | | 'therubyracer'. Dependency.rb expects the symbol to be named :platforms as opposed to platform. RubyMine's inspections indicate that the symbol should be named :platforms. | ||||
* | Revert changes related to `bundle install` fixes in `rails new` | Piotr Sarnacki | 2012-05-17 | 1 | -10/+1 |
| | | | | | | | | | | | Reverted changes: f3482a9 Fix tests in railties 5904295 improve #6318 aed906a prevent using already loaded Gemfile for 'bundle install' In order to fix this, we need a fix in bundler related to GEM_PATH, which will allow to run tests properly. I will get this changes back when it happens. | ||||
* | improve #6318 | Michal Papis | 2012-05-15 | 1 | -4/+5 |
| | |||||
* | prevent using already loaded Gemfile for 'bundle install', fix #6314 | Michal Papis | 2012-05-15 | 1 | -0/+8 |
| | |||||
* | Remove remaining require 'rubygems' | Santiago Pastorino | 2012-05-13 | 1 | -1/+1 |
| | |||||
* | Use new hash syntax in generated Gemfile | Oscar Del Ben | 2012-05-02 | 1 | -14/+14 |
| | |||||
* | Use :github option in Gemfile and make hashes consistent | Piotr Sarnacki | 2012-05-01 | 1 | -8/+8 |
| | |||||
* | Merge pull request #5530 from ↵ | José Valim | 2012-04-30 | 1 | -0/+3 |
|\ | | | | | | | | | malclocke/add_option_to_skip_index.html_on_rails_generate Added a generator option to skip the public/index.html file | ||||
| * | Added a generator option to remove the public/index.html file when ↵ | Ivan Vanderbyl | 2012-03-21 | 1 | -0/+3 |
| | | | | | | | | | | | | | | generating a new Rails application The option is: -i, [--skip-index-html] # Skip public/index.html file | ||||
* | | Add missing dependency for active_record_deprecated_finders | Juan Manuel Azambuja | 2012-04-18 | 1 | -0/+2 |
| | | |||||
* | | remove extra new line from generated Gemfile | Vasiliy Ermolovich | 2012-04-14 | 1 | -1/+1 |
|/ | |||||
* | Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform only | Piotr Sarnacki | 2012-03-17 | 1 | -1/+1 |
| | |||||
* | Move http only option to AppGenerator | Carlos Antonio da Silva | 2012-03-14 | 1 | -3/+0 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add http-only option to Rails app generator | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+3 |
| | | | | | | | Change application controller template accordingly, to inherit from ActionController::HTTP and not generate protect_from_forgery call. [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Remove key_value helper now that master is 1.9 only and we always use | Rafael Mendonça França | 2012-03-13 | 1 | -5/+0 |
| | | | | the 1.9 hash syntax in the generators. | ||||
* | Add sprockets-rails to generated Gemfile. This should be reverted after ↵ | Guillermo Iguaran | 2012-03-13 | 1 | -0/+2 |
| | | | | sprockets-rails release on rubygems | ||||
* | Remove ruby_debugger_gemfile_entry from app_base, we can just put ↵ | Guillermo Iguaran | 2012-02-01 | 1 | -4/+0 |
| | | | | ruby-debug19 commented directly in Gemfile | ||||
* | Don't run bundle install when passed with --pretend option | kennyj | 2012-02-01 | 1 | -1/+1 |
| | |||||
* | Add therubyracer gem commented in default Gemfile | Guillermo Iguaran | 2012-01-12 | 1 | -2/+14 |
| | |||||
* | Depend on 4.0.0.beta gems. Use https for github urls. | Jeremy Kemper | 2011-12-22 | 1 | -10/+10 |
| | |||||
* | Get rid of more 1.8.x dead code | José Valim | 2011-12-20 | 1 | -5/+1 |
| | |||||
* | Get rid of --old-style-hash | José Valim | 2011-12-20 | 1 | -10/+2 |
| | |||||
* | Use gem versions of sass-rails and coffee-rails. | José Valim | 2011-12-17 | 1 | -10/+26 |
| | |||||
* | strip whitespace errors from the generated Gemfile | Aaron Patterson | 2011-12-12 | 1 | -1/+1 |
| | |||||
* | Skip assets groups if --skip-sprockets option is given | Guillermo Iguaran | 2011-12-09 | 1 | -0/+1 |
| | |||||
* | Added therubyrhino to default Gemfile under JRuby | Guillermo Iguaran | 2011-11-14 | 1 | -0/+1 |
| | |||||
* | Add arel to Gemfile on apps generated in edge Rails | Guillermo Iguaran | 2011-11-05 | 1 | -0/+2 |
| |