aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/model_generator_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove duplicated testyuuji.yaginuma2019-04-201-12/+1
* Add `null: false` constraint by default for `belongs_to` associationsPrathamesh Sonpatki2019-04-191-4/+46
* Fix typo in test description from generages -> generatesAbhay Nikam2019-04-171-1/+1
* Remove `required: true` from the model generator templatePrathamesh Sonpatki2019-04-151-13/+2
* Add attachment and attachments field generatorsChris Oliver2019-03-301-1/+21
* Add rich_text field to model generatorsChris Oliver2019-03-281-0/+17
* Make aliases of `database` option in generators workyuuji.yaginuma2019-03-201-0/+11
* Railities typo fixes.alkesh262019-02-011-1/+1
* Refactor migrations_path command option to databaseGannon McGibbon2018-09-281-5/+7
* Add migrations_paths option to model generatorGannon McGibbon2018-09-271-0/+9
* Emit warning for unknown inflection rule when generating model.Yoshiyuki Kinjo2018-08-311-1/+18
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-18/+17
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
* Stop creating ApplicationRecord on model generationLisa Ugray2017-07-241-19/+0
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Should escape meta characters in regexpRyuta Kamizono2017-05-071-6/+6
* Move config reset to ensure blockAndrew White2017-01-171-1/+2
* Generate migrations at path set by `config.paths["db/migrate"]`Kevin Glowacz2017-01-161-0/+10
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-8/+8
* Add three new rubocop rulesRafael Mendonça França2016-08-161-8/+8
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-7/+7
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-6/+6
* applies new string literal convention in railties/testXavier Noria2016-08-061-3/+3
* Generate application_record.rb file before model fileWojciech Wnętrzak2016-06-081-7/+7
* Generate ApplicationRecord if it does not already existJon Moss2016-02-221-0/+8
* set association name to generated fixtures if attribute is referenceyuuji.yaginuma2016-02-061-5/+5
* Pare back default `index` option for the migration generatorPrathamesh Sonpatki2016-01-241-20/+0
* Introduce ApplicationRecord, an Active Record layer supertypeGenadi Samokovarov2015-12-161-0/+11
* Ensure generated migrations include a version numberMatthew Draper2015-12-151-8/+8
* Use thor class_option to make the primary_key_type option workRafael Mendonça França2015-10-231-0/+9
* respect `pluralize_table_names` when generate fixture file. fixes #19519yuuji.yaginuma2015-03-271-0/+10
* Add Secure Token Generatorrobertomiranda2015-01-111-0/+11
* Change the default `null` value for `timestamps` to `false`Rafael Mendonça França2015-01-041-1/+1
* Generated fixtures won't use parent_id when generated with parent:referencesPablo Olmos de Aguilera Corradini2015-01-021-5/+5
* Use the new `foreign_key` option on `references` in generatorsSean Griffin2014-12-221-3/+13
* Generators add foreign keys on referencesDerek Prior2014-11-251-0/+21
* Merge pull request #16062 from sgrif/sg-required-generatorsRafael Mendonça França2014-08-171-0/+44
|\
| * Add a `required` option to the model generatorSean Griffin2014-08-081-0/+44
* | Change the default `null` value for timestampsSean Griffin2014-08-121-1/+1
|/
* modify model generator warning message. refs [#174c9f0]Kuldeep Aggarwal2014-02-271-1/+1
* include names in model generator warning message. refs #13515.Yves Senn2014-02-241-1/+1
* Add warning when user tried to create model with pluralize name.Kuldeep Aggarwal2014-02-231-0/+7
* Consistent use of single and double quotesRafael Mendonça França2012-12-261-10/+10
* quote column names in generated fixture filesYves Senn2012-12-261-3/+26
* Make sure that no extra spaces are created with a non-polymorphicRafael Mendonça França2012-12-101-2/+2
* Deal with polymorphic attributes correctly in the generatorsRafael Mendonça França2012-12-101-0/+5
* Make references and belongs_to attributes to generate the _id column inRafael Mendonça França2012-12-101-0/+5
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-3/+3
* Update test locationsMike Moore2012-10-091-3/+3