aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/generators.md
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #36582 from f1337/master"Ryuta Kamizono2019-07-021-2/+2
| | | | | | | | | | This reverts commit 60e19c6d6cb60159af4e2247f29d2cea375a21d6, reversing changes made to 72e257b4c935b6829f7d4db36dea61a1682aa44e. The method signature is different between `create_file` and `template`. https://www.rubydoc.info/github/erikhuda/thor/master/Thor/Actions#create_file-instance_method https://www.rubydoc.info/github/erikhuda/thor/master/Thor/Actions#template-instance_method
* use 'template' instead of 'create_file' for erb templates in generators ↵Michael R Fleet2019-07-011-2/+2
| | | | guide [skip ci]
* Remove mentions about `javascripts` option from the guide about generators ↵bogdanvlviv2018-10-221-5/+1
| | | | | | | | [ci skip] This option is unused since #33079. Follow up #34277
* Update the docs now that webpacker is default [ci skip]Prathamesh Sonpatki2018-10-031-4/+1
|
* Merge pull request #33229 from ↵Matthew Draper2018-07-251-12/+12
|\ | | | | | | | | albertoalmagro/albertoalmagro/prefer-rails-command-over-bin-rails Prefer rails command over bin/rails
| * Recommend use of rails over bin/railsAlberto Almagro2018-07-061-12/+12
| | | | | | | | | | | | | | | | | | As discussed in #33203 rails command already looks for, and runs, bin/rails if it is present. We were mixing recommendations within guides and USAGE guidelines, in some files we recommended using rails, in others bin/rails and in some cases we even had both options mixed together.
* | Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
|/ | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* Added a lot of Oxford commasAnthony Crumley2018-05-101-2/+2
| | | | | | | [ci skip] A regular expression was used to find a lot of missing Oxford commas and add them. The regular expression was as follows. ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
* Update generator guide [ci skip]Yoshiyuki Hirano2017-08-211-4/+8
|
* Add system_test logs to guide [ci skip]Yoshiyuki Hirano2017-08-161-0/+6
|
* Fix example codes for generators guide [ci skip]Yoshiyuki Hirano2017-08-111-2/+2
|
* Deprecate an `capify!` method in generators and templatesyuuji.yaginuma2017-06-181-8/+0
| | | | | | | | | The `capify` command has been removed by Capistrano 3 and became to `cap install`. Therefore, the `capify!` method has no meaning in Capistrano 3. I think that should deprecate. Ref: https://github.com/capistrano/capistrano/commit/492793916acf32ffe1604daec6fd4892c8935018
* Define path with __dir__bogdanvlviv2017-05-231-2/+2
| | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
* Add missing word 'to' [ci skip]Eric Henziger2017-04-171-1/+1
| | | | | | | | | While the original sentence is easy to understand, adding the 'to' is imho a bit more correct. Sources: * https://ell.stackexchange.com/q/16964 * https://www.usingenglish.com/forum/threads/127099-It-is-referred-as-or-It-is-referred-to-as
* How to disable scaffolds.scss in generators.md (#27383)Eike Send2016-12-171-1/+9
| | | | | | * How to disable scaffolds.scss in generators.md * Improves workflow customization text in generators.md
* [ci skip] add a section explaining command line arguments for generatorsKevin Hughes2016-12-161-0/+20
|
* cherry-pick test and source doc from #20050Hirofumi Wakasugi2015-06-251-0/+8
|
* revert 539d929b7b32302afe548e4cb06b5f4dd56e9942 [ci skip]Abdelkader Boudih2015-02-041-1/+1
|
* Fix typo in Creating and Customizing Rails Generators & Templates guidesYasuhiko Katoh (y@su)2015-02-041-1/+1
|
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* Update guides regarding the extension changesRobin Dupret2014-12-261-4/+4
| | | | | | | | | | With rails/coffee-rails#61 (and #17241), the `.coffee` extension is favoured over `.js.coffee`. Respectively, with rails/sass-rails#271 `.scss` and `.sass` are favoured over `.css.scss` and `.css.sass`. Let's update the documentation to reflect that. [ci skip]
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Follow up on #16408Jon Atack2014-08-221-2/+6
| | | | [skip ci]
* minor copy editing [ci skip]Vijay Dev2014-08-191-3/+1
|
* [ci skip] add note about the ERB escape in generator docsAditya Kapoor2014-08-141-0/+15
|
* Update docs to reflect that helper stubs are no longer generatedDavid Heinemeier Hansson2014-08-031-4/+0
|
* Generator guide grammatical error fixed [ci skip]Siddharth Bhagwan2014-07-211-1/+1
|
* [ci skip] /javascript/ -> JavaScript - cover whole appAkshay Vishnoi2014-07-041-2/+2
|
* Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip]John Kelly Ferguson2014-05-211-2/+2
|
* Use generated binstubs in guides examples.Josef Šimánek2014-05-201-12/+12
| | | | [ci skip]
* [ci skip] Fix a factual error and highlight code in generators guide.Juanito Fatas2014-05-141-2/+2
|
* Spelling and Grammar check [ci skip]Akshay Vishnoi2013-12-161-1/+1
|
* show javascripts can be disabled in generatorsRob Zolkos2013-10-311-2/+6
|
* [ci skip] Update scaffold output and change some words.Juanito Fatas2013-09-271-3/+18
| | | | | | | | | | Scaffold output: add jbuilder, update timestamp (edge guide!) Add some file breadcrumb (comment) to help reader find files. Improve readability by adding some command outputs. Thanks for great help from @senny.
* Update references to wycats/thor to erikhuda/thor.Benjamin Manns2013-09-231-3/+3
|
* fix the initializer block example and clarifyCarlos Puchol2013-03-221-2/+2
| | | | | clarify that the contents of the block is expected to return a string. the previous example executed puts and the initializer got nothing. also, made it consistent with the single-line example to be more clear as to what's going on
* Gist URLs are now namespacedAkira Matsuda2013-02-181-1/+1
| | | | see: https://github.com/blog/1406-namespaced-gists
* Typo in codemanishval2013-01-291-1/+1
|
* update the scaffold generator outputsAkira Matsuda2013-01-041-4/+14
|
* Remove references to Rails versions.Steve Klabnik2012-12-071-2/+0
| | | | | | | | There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
* Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-7/+7
|
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-1/+1
| | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* Add periods to the bullet points in guides.Steve Klabnik2012-11-291-7/+7
| | | | Talked with @fxn about this. Bullet points should have periods at the ends.
* copy edits and fixes [ci skip]Vijay Dev2012-11-171-1/+1
|
* Add link to the Application Templates guideAgis Anastasopoulos2012-11-161-1/+1
|
* Switch to 1.9 hash syntax & remove some parentheses when it reads nicerAgis Anastasopoulos2012-11-161-33/+33
|
* Update test locationsMike Moore2012-10-091-6/+6
| | | | | | | | | | | | | | 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)
* Convert all the links into Markdown formatPrem Sichanugrist2012-09-171-5/+5
|
* Convert all inline codes to Markdown syntaxPrem Sichanugrist2012-09-171-60/+60
|
* change shell to bashPrem Sichanugrist2012-09-171-15/+15
|