aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Railties] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* A private method can't be called with `self.`Akira Matsuda2017-03-041-2/+2
| | | | | | | | So calling `filename_with_extensions` omitting the second argument like this https://github.com/slim-template/slim-rails/blob/8dbc1fbf859ebfa95b0884a0196a6ad9f0ca9cd5/lib/generators/slim/scaffold/scaffold_generator.rb#L10 causes NoMethodError. fixes #28275
* Privatize unneededly protected methods in RailtiesAkira Matsuda2016-12-251-1/+1
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-12/+12
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-1/+1
| | | | | 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
|
* Fix for external generators extend Erb::GeneratorsAllen Fair2014-03-041-1/+1
| | | | | | | | | HAML and probably other generators extend this class and invoke filename_with_extensions with the old signature (without format). This makes the second argument optional and defaults it to the #format method which could be overridden as well. Closes #14132.
* `html` and `text` templates for mailers by defaultKassio Borges2013-12-201-1/+5
|
* Fixing build failuresVijay Dev2012-10-111-2/+2
| | | | | | | 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-2/+2
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-0/+21
| | | | former since it's less obstrusive.
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-8/+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/+8