aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb/scaffold/scaffold_generator.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Railties] require_relative => requireAkira Matsuda2017-10-211-2/+2
| | | | This basically reverts 618268b4b9382f4bcf004a945fe2d85c0bd03e32
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* [Railties] require => require_relativeAkira Matsuda2017-07-011-2/+2
|
* Privatize unneededly protected methods in RailtiesAkira Matsuda2016-12-251-1/+1
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-2/+2
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Always return an array from formats so there is no need to wrap it when callingCarlos Antonio da Silva2014-03-041-1/+1
|
* `html` and `text` templates for mailers by defaultKassio Borges2013-12-201-2/+4
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-1/+1
|
* Fixing build failuresVijay Dev2012-10-111-3/+3
| | | | | | | Build failed with an error "invalid multibyte char (US-ASCII)" in these files. Apparently, some UTF-8 char disguised as whitespace causes this. Thanks @rafaelfranca
* nodoc Erb::Generators [ci skip]Francesco Rodriguez2012-10-071-3/+3
|
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-241-6/+1
| | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove :layout option from generators.José Valim2010-04-061-1/+0
|
* A new application now comes with a layout and a stylesheet.José Valim2010-04-061-6/+0
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-0/+41
| | | | former since it's less obstrusive.
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-53/+0
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+53