Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | applies new string literal convention in railties/test | Xavier Noria | 2016-08-06 | 1 | -17/+17 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | test, `Generators::GeneratedAttribute` with references, required, index. | Yves Senn | 2014-10-16 | 1 | -0/+8 |
| | | | | | | | | | | | | | Closes #17197. Closes #17207. `{required}` is a type modifier so it should be: user:references{required}:index and not: user:references:index{required} | ||||
* | Fixed test names for generated_attribute_test.rb | Arun Agrawal | 2012-12-13 | 1 | -1/+1 |
| | |||||
* | Add GeneratedAttribute#column_name to get the name of the column in the | Rafael Mendonça França | 2012-12-10 | 1 | -2/+9 |
| | | | | database | ||||
* | Add polymorphic option to model generator | Aleksey Magusev | 2012-06-27 | 1 | -8/+15 |
| | | | | | | | | | | For instance, $ rails g model Product supplier:references{polymorphic} generate model with `belongs_to :supplier, polymorphic: true` association and appropriate migration. Also fix model_generator_test.rb#L196 and #L201 | ||||
* | Tidy up migration types. | José Valim | 2011-12-24 | 1 | -1/+6 |
| | |||||
* | 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' | ||||
* | Generate valid default fixtures for models with a type column | Marc-Andre Lafortune | 2011-07-11 | 1 | -0/+5 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Attributes on scaffold and model generators default to string. | José Valim | 2011-06-17 | 1 | -10/+3 |
| | | | | This allows the following: "rails g scaffold Post title body:text author" | ||||
* | generate HTML5 number_field tag for integer fields | Akira Matsuda | 2011-05-16 | 1 | -1/+5 |
| | |||||
* | :'' is not valid ruby. | José Valim | 2010-10-02 | 1 | -1/+1 |
| | |||||
* | Failing test for GeneratedAttribute [#5461 state:open] | rohit | 2010-09-02 | 1 | -0/+12 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 ↵ | Jeff Kreeftmeijer | 2010-06-10 | 1 | -10/+81 |
| | | | | | | 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 | -7/+7 |
| | |||||
* | Added assert_attribute_type to clean up GeneratedAttributeTest [#2377 ↵ | Jeff Kreeftmeijer | 2010-05-16 | 1 | -0/+40 |
state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> |