Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | does not show hidden namespaces in generator's help | yuuji.yaginuma | 2017-02-24 | 1 | -0/+7 |
| | |||||
* | quiet generators log in test | yuuji.yaginuma | 2016-12-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | This quiet the following log. ``` create app/mailers/notifier_mailer.rb invoke erb create app/views/notifier_mailer identical app/views/layouts/mailer.text.erb identical app/views/layouts/mailer.html.erb create app/views/notifier_mailer/foo.text.erb create app/views/notifier_mailer/foo.html.erb invoke test_unit create test/mailers/notifier_mailer_test.rb create test/mailers/previews/notifier_mailer_preview.rb ``` | ||||
* | `ARGV.shift` before calling Rails generators | Jon Moss | 2016-12-17 | 1 | -0/+15 |
| | | | | | | Gems like rspec-rails depend on `ARGV` being shifted, and `scaffold` (for example) not being the first item in `ARGV`. This should allow rspec-rails to be passing on Rails master. | ||||
* | improve error message when include assertions fail | Michael Grosser | 2016-09-16 | 1 | -4/+4 |
| | | | | | | assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong | ||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -2/+2 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | applies new string literal convention in railties/test | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Remove unused boot_rails method and it's usage | Prathamesh Sonpatki | 2016-07-04 | 1 | -1/+0 |
| | | | | | - The `boot_rails` method from abstract_unit.rb is empty after 2abcdfd978fdcd491576a237e8c6b. - So let's remove it and its usage. | ||||
* | generate mailer views in Rails API | yuuji.yaginuma | 2016-02-15 | 1 | -0/+10 |
| | | | | | View files is necessary to send mail, it should be generated even Rails API. Fixes #23617 | ||||
* | Add test to show api only apps allow overriding generator options | Santiago Pastorino | 2015-06-11 | 1 | -0/+16 |
| | |||||
* | config.api_only = true implies config.generators.api_only = true | Santiago Pastorino | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Api apps scaffold does not generate assets | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | |||||
* | Api apps scaffold does not generate helpers | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | |||||
* | Api apps scaffold does not generate views | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | |||||
* | config.generators.api_only = true set rails api option on generators | Santiago Pastorino | 2015-06-11 | 1 | -1/+2 |
| | |||||
* | Hide assets, helper, css and js namespaces for api only apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+15 |
| | |||||
* | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵ | Jeremy Kemper | 2013-01-06 | 1 | -1/+1 |
| | | | | 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' | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -15/+15 |
| | |||||
* | Merge pull request #3359 from mrreynolds/datamapper_naming_fix | Rafael Mendonça França | 2012-05-19 | 1 | -9/+9 |
|\ | | | | | Fixed DataMapper namings in symbols and constants. | ||||
| * | Fixed DataMapper namings in symbols and constants. | Robert Glaser | 2011-10-18 | 1 | -9/+9 |
| | | |||||
* | | Remove --http. | José Valim | 2012-03-14 | 1 | -28/+0 |
| | | |||||
* | | Add test to ensure setting config.generators.http_only actually disables the ↵ | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+14 |
| | | | | | | | | | | | | generator options [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Allow generator configs from http_only! to be overriden by app | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+15 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
|/ | |||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -0/+4 |
| | |||||
* | Use load_generators instead. | José Valim | 2011-05-25 | 1 | -4/+2 |
| | |||||
* | Fixed failing tests for generators_test | Arun Agrawal | 2011-05-25 | 1 | -2/+2 |
| | |||||
* | Tidy up generators commits. | José Valim | 2010-11-17 | 1 | -11/+2 |
| | |||||
* | Fix generators tests on ruby 1.9 | Piotr Sarnacki | 2010-11-17 | 1 | -6/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Do not allow to use plugin_new generator directly, you should use Usage: | Piotr Sarnacki | 2010-11-16 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rails new APP_PATH [options] Options: -G, [--skip-git] # Skip Git ignores and keeps -r, [--ruby=PATH] # Path to the Ruby binary of your choice # Default: /Users/drogus/.rvm/rubies/ruby-1.8.7-p302/bin/ruby -b, [--builder=BUILDER] # Path to an application builder (can be a filesystem path or URL) [--edge] # Setup the application with Gemfile pointing to Rails repository [--dev] # Setup the application with Gemfile pointing to your Rails checkout [--skip-gemfile] # Don't create a Gemfile -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db) # Default: sqlite3 -O, [--skip-active-record] # Skip Active Record files -m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL) -J, [--skip-prototype] # Skip Prototype files -T, [--skip-test-unit] # Skip Test::Unit files Runtime options: -s, [--skip] # Skip files that already exist -p, [--pretend] # Run but do not make any changes -f, [--force] # Overwrite files that already exist -q, [--quiet] # Supress status output Rails options: -v, [--version] # Show Rails version number and quit -h, [--help] # Show this help message and quit Description: The 'rails new' command creates a new Rails application with a default directory structure and configuration at the path you specify. Example: rails new ~/Code/Ruby/weblog This generates a skeletal Rails installation in ~/Code/Ruby/weblog. See the README in the newly created application to get going. command | ||||
* | Allow running `rails plugin new` command inside rails application | Piotr Sarnacki | 2010-11-16 | 1 | -0/+6 |
| | |||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -1/+1 |
| | | | | method_missing. | ||||
* | Make config.generators accept string namespaces, you can do now ↵ | Santiago Pastorino | 2010-07-21 | 1 | -0/+15 |
| | | | | | | config.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Should call configure! to initiliaze the application | Santiago Pastorino | 2010-06-09 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add config.generators.templates to provide alternative paths for template ↵ | José Valim | 2010-02-06 | 1 | -11/+4 |
| | | | | lookup. | ||||
* | Add config.generators.fallbacks. | José Valim | 2010-02-01 | 1 | -1/+12 |
| | |||||
* | Move the ActiveRecord generator settings into the Railtie | Carl Lerche | 2010-01-28 | 1 | -1/+1 |
| | |||||
* | Test::Unit Railtie | Carlhuda | 2010-01-28 | 1 | -2/+8 |
| | |||||
* | Refactor railties test, break huge files in smaller chunks and move ↵ | José Valim | 2010-01-26 | 1 | -13/+0 |
| | | | | initializers to application folder. | ||||
* | Set up subscriber on initialization. | José Valim | 2010-01-13 | 1 | -1/+1 |
| | |||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | tests pass with requiring the frameworks in rails.rb | Carlhuda | 2009-12-23 | 1 | -14/+16 |
| | |||||
* | Remove global Rails initializers | Carlhuda | 2009-12-02 | 1 | -9/+17 |
| | |||||
* | Configure generator when needed rather than during initialization | Jeremy Kemper | 2009-11-03 | 1 | -1/+2 |
| | |||||
* | Pass config.generators options along when RAILS_GENERATORS is set and show ↵ | José Valim | 2009-11-03 | 1 | -2/+4 |
| | | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove config.gem in favor of using the bundler. This makes config/boot.rb ↵ | Carl Lerche | 2009-10-16 | 1 | -0/+1 |
| | | | | | | obsolete. The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem. | ||||
* | Use Rails.initialize! where we just want to run the initializers and aren't ↵ | Joshua Peek | 2009-10-16 | 1 | -2/+2 |
| | | | | concerned about the config | ||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -0/+2 |
| | | | | application's object root) | ||||
* | Have config/application.rb contain the application definition and require ↵ | Carl Lerche | 2009-10-15 | 1 | -0/+4 |
| | | | | that file instead of config/boot.rb or config/environment.rb in script/*. | ||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-14 | 1 | -1/+1 |
| | |||||
* | Finish porting over the initializers to the app object and fix all the tests | Carl Lerche | 2009-10-08 | 1 | -0/+89 |