aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/app_base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-111-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 Rodriguez2012-10-071-1/+1
| |
* | Inline commentDavid Heinemeier Hansson2012-10-081-3/+1
| |
* | Strip heredoc to not generate the Gemfile with trailing spacesRafael Mendonça França2012-10-041-2/+2
| |
* | Turn turbolinks on by default for new appsDavid Heinemeier Hansson2012-10-041-1/+8
|/
* change app/plugin generators to be more SCM agnosticDerek Prior2012-09-121-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 generatorXavier Noria2012-09-011-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 codePiotr Sarnacki2012-08-311-6/+3
|
* Revert "Revert changes related to `bundle install` fixes in `rails new`"Piotr Sarnacki2012-08-311-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 generatorMiguel Herranz2012-08-171-2/+2
|
* Changed symbol platform to platforms for the commented out call to gem ↵Martin O'Connor2012-05-301-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 Sarnacki2012-05-171-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 #6318Michal Papis2012-05-151-4/+5
|
* prevent using already loaded Gemfile for 'bundle install', fix #6314Michal Papis2012-05-151-0/+8
|
* Remove remaining require 'rubygems'Santiago Pastorino2012-05-131-1/+1
|
* Use new hash syntax in generated GemfileOscar Del Ben2012-05-021-14/+14
|
* Use :github option in Gemfile and make hashes consistentPiotr Sarnacki2012-05-011-8/+8
|
* Merge pull request #5530 from ↵José Valim2012-04-301-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 Vanderbyl2012-03-211-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_findersJuan Manuel Azambuja2012-04-181-0/+2
| |
* | remove extra new line from generated GemfileVasiliy Ermolovich2012-04-141-1/+1
|/
* Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform onlyPiotr Sarnacki2012-03-171-1/+1
|
* Move http only option to AppGeneratorCarlos Antonio da Silva2012-03-141-3/+0
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Add http-only option to Rails app generatorCarlos Antonio da Silva2012-03-141-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 useRafael Mendonça França2012-03-131-5/+0
| | | | the 1.9 hash syntax in the generators.
* Add sprockets-rails to generated Gemfile. This should be reverted after ↵Guillermo Iguaran2012-03-131-0/+2
| | | | sprockets-rails release on rubygems
* Remove ruby_debugger_gemfile_entry from app_base, we can just put ↵Guillermo Iguaran2012-02-011-4/+0
| | | | ruby-debug19 commented directly in Gemfile
* Don't run bundle install when passed with --pretend optionkennyj2012-02-011-1/+1
|
* Add therubyracer gem commented in default GemfileGuillermo Iguaran2012-01-121-2/+14
|
* Depend on 4.0.0.beta gems. Use https for github urls.Jeremy Kemper2011-12-221-10/+10
|
* Get rid of more 1.8.x dead codeJosé Valim2011-12-201-5/+1
|
* Get rid of --old-style-hashJosé Valim2011-12-201-10/+2
|
* Use gem versions of sass-rails and coffee-rails.José Valim2011-12-171-10/+26
|
* strip whitespace errors from the generated GemfileAaron Patterson2011-12-121-1/+1
|
* Skip assets groups if --skip-sprockets option is givenGuillermo Iguaran2011-12-091-0/+1
|
* Added therubyrhino to default Gemfile under JRubyGuillermo Iguaran2011-11-141-0/+1
|
* Add arel to Gemfile on apps generated in edge RailsGuillermo Iguaran2011-11-051-0/+2
|
* Remove Turn from default Gemfile.Guillermo Iguaran2011-10-221-11/+0
| | | | We still looking for a best presentation for tests output.
* Don't use :path in Gemfile for --dev except for Rails.José Valim2011-10-201-1/+1
|
* fix inconsistent alignment in Gemfile generatorSuraj N. Kurapati2011-10-131-6/+6
|
* point rails at Journey for dev and edgeAaron Patterson2011-09-121-0/+2
|
* Thanks to the hard work of Ken Collins ( @metaskills ) on the ActiveRecord ↵Wayne E. Seguin2011-09-071-2/+3
| | | | | | | | SQLServer Adapter ( https://github.com/rails-sqlserver/activerecord-sqlserver-adapter ), AR SQLServer Adapter works for Linux, OSX and Windows. Thus the sqlserver adapter should include so that users may use it with the new application generator: rails new w00t -d sqlserver ...
* Bump uglifier upSantiago Pastorino2011-09-051-1/+1
|
* Tidy upSantiago Pastorino2011-07-281-2/+4
|
* Add assets_gemfile_entry.José Valim2011-07-011-0/+10
|
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-1/+4
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* Convert database names to ones appropriate for JRubyNick Sieger2011-06-211-1/+12
|
* Add generic 'jdbc' database optionNick Sieger2011-06-211-4/+5
|
* Create an :assets group in the Gemfile.José Valim2011-06-211-3/+3
| | | | | | | | | This group is required by default only on development and test (you can change it on config/application.rb). `rake assets:precompile` will automatically add the assets group to Rails.groups (and consequently Bundler.require) and should work transparently.
* s/Bundle/Bundler/Xavier Noria2011-06-111-1/+1
|