Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Railties] require_relative => require | Akira Matsuda | 2017-10-21 | 1 | -4/+4 |
| | | | | This basically reverts 618268b4b9382f4bcf004a945fe2d85c0bd03e32 | ||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | [Railties] require => require_relative | Akira Matsuda | 2017-07-01 | 1 | -4/+4 |
| | |||||
* | Define path with __dir__ | bogdanvlviv | 2017-05-23 | 1 | -2/+2 |
| | | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f | ||||
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 |
| | |||||
* | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -5/+5 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Break down Rails::Generator::TestCase into modules | Pablo Herrero | 2013-03-31 | 1 | -211/+6 |
| | |||||
* | Fix method assertion ensuring it will match "end" with the same indentation | Carlos Antonio da Silva | 2012-12-08 | 1 | -2/+2 |
| | | | | | Otherwise it was matching "end" lines from blocks within the method body, making tests such as the migration ones fail. | ||||
* | Fix #assert_instance_method to also assert indented methods | Francesco Rodriguez | 2012-12-08 | 1 | -1/+1 |
| | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -2/+2 |
| | |||||
* | update Rails::Generators docs [ci skip] | Francesco Rodriguez | 2012-10-07 | 1 | -19/+6 |
| | |||||
* | use system tmpdir rather than our own | Aaron Patterson | 2012-06-19 | 1 | -2/+10 |
| | |||||
* | Remove delegated methods from generators test case | Carlos Antonio da Silva | 2012-05-19 | 1 | -1/+0 |
| | | | | | | | `class_attribute` already generates instance readers/writers by default, so there's no need to add delegation methods. Removes some "method redefined" warnings. | ||||
* | Fix misprints in assert_file & assert_instance_method docs | Alexey Vakhov | 2012-04-26 | 1 | -4/+4 |
| | |||||
* | Fix code example in generator test case | Prem Sichanugrist | 2012-04-09 | 1 | -2/+2 |
| | |||||
* | Tidy up migration types. | José Valim | 2011-12-24 | 1 | -2/+2 |
| | |||||
* | added ability to specify from cli when generating a model/migration whether ↵ | Dmitrii Samoilov | 2011-12-24 | 1 | -1/+1 |
| | | | | particular property should be an index like this 'rails g model person name:string:index profile:string' | ||||
* | Modified content in guides and comments | Arun Agrawal | 2011-09-04 | 1 | -3/+3 |
| | | | | | | for "assert /" warnings. Removed because if somebody will use this code they will get warnings! | ||||
* | corrected a mistake in the documentation for assert_migration | misfo | 2011-01-29 | 1 | -1/+1 |
| | |||||
* | Move capture to Kernel. [#5641 state:resolved] | Krekoten' Marjan | 2010-09-18 | 1 | -19/+1 |
| | |||||
* | edit pass to apply API guideline wrt the use of "# =>" in example code | Xavier Noria | 2010-07-30 | 1 | -1/+1 |
| | |||||
* | application generation: --skip-testunit and --skip-activerecord renamed to ↵ | Xavier Noria | 2010-07-25 | 1 | -3/+3 |
| | | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there. | ||||
* | Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 ↵ | Jeff Kreeftmeijer | 2010-06-10 | 1 | -8/+22 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename assert_attribute_type to asser_field_type. | José Valim | 2010-05-16 | 1 | -3/+3 |
| | |||||
* | Added assert_attribute_type to clean up GeneratedAttributeTest [#2377 ↵ | Jeff Kreeftmeijer | 2010-05-16 | 1 | -0/+12 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -3/+4 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -5/+4 |
| | |||||
* | Move all generators tests to use new test case syntax. | José Valim | 2010-01-03 | 1 | -4/+19 |
| | |||||
* | Create Rails::Generators::TestCase. | José Valim | 2010-01-03 | 1 | -0/+224 |