Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant suffixes on generated helpers. | Gannon McGibbon | 2018-12-12 | 1 | -0/+5 |
| | |||||
* | Use .tt extension to all the template files | Rafael Mendonça França | 2017-11-13 | 1 | -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 templates | Koichi ITO | 2017-08-22 | 1 | -2/+0 |
| | |||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 2 | -0/+4 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | applies new string literal convention in railties/lib | 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. | ||||
* | Bring back the helpers tests | José Valim | 2014-08-05 | 1 | -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 stubs | David Heinemeier Hansson | 2014-08-03 | 1 | -4/+0 |
| | |||||
* | Generating stubs for helper tests is overly specific. Most helpers should ↵ | David Heinemeier Hansson | 2014-08-03 | 1 | -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 railties | Robin Dupret | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | Fixing build failures | Vijay Dev | 2012-10-11 | 1 | -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/docrails | Vijay Dev | 2012-10-11 | 1 | -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 Rodriguez | 2012-10-07 | 1 | -1/+1 |
| | | |||||
* | | Update test locations | Mike Moore | 2012-10-09 | 1 | -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 helper | Piotr Sarnacki | 2010-09-24 | 2 | -1/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Generators are not aware of namespace of isolated engines and applications | Piotr Sarnacki | 2010-09-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 3 | -0/+32 |
| | | | | former since it's less obstrusive. | ||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 3 | -32/+0 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 3 | -0/+32 |