aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/helper
Commit message (Collapse)AuthorAgeFilesLines
* Use .tt extension to all the template filesRafael Mendonça França2017-11-131-0/+0
| | | | | | | | Make clear that the files are not to be run for interpreters. Fixes #23847. Fixes #30690. Closes #23878.
* Remove frozen_string_literal magic comment from templatesKoichi ITO2017-08-221-2/+0
|
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-142-0/+4
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* 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.
* Bring back the helpers testsJosé Valim2014-08-051-0/+2
| | | | | Also keep the hook as other tools may rely on it, we just don't do anything by default on Rails.
* A few more tests asserting the presence of helper test stubsDavid Heinemeier Hansson2014-08-031-4/+0
|
* Generating stubs for helper tests is overly specific. Most helpers should ↵David Heinemeier Hansson2014-08-031-2/+0
| | | | simply be tested as part of the view thats using them. If you need something beyond that, you can add a test yourself for them
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-1/+1
|
* Fixing build failuresVijay Dev2012-10-111-1/+1
| | | | | | | 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
* 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
| |
* | Update test locationsMike Moore2012-10-091-1/+1
|/ | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional)
* Refactor namespaced generators to use module_namespacing block helperPiotr Sarnacki2010-09-242-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Generators are not aware of namespace of isolated engines and applicationsPiotr Sarnacki2010-09-241-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-233-0/+32
| | | | former since it's less obstrusive.
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-183-32/+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-243-0/+32