aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/model_generator_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Remove all references to attr_accessible/protected and old mass_assignment_sa...Guillermo Iguaran2012-09-161-10/+0
* Add polymorphic option to model generatorAleksey Magusev2012-06-271-3/+14
* fix scaffold_generator_test.rb and model_generator_test.rbArun Agrawal2012-04-161-4/+4
* Whitelist all attribute assignment by default.Michael Koziarski2012-03-051-0/+10
* Use 1.9 hash syntax instead.José Valim2011-12-241-6/+6
* assert_not_match -> assert_no_match.José Valim2011-12-241-4/+4
* Tidy up migration types.José Valim2011-12-241-1/+1
* added ability to specify from cli when generating a model/migration whether p...Dmitrii Samoilov2011-12-241-0/+68
* Attributes on scaffold and model generators default to string.José Valim2011-06-171-3/+9
* be sure to parenthesize the arguments when the first one is a RegExp literalAkira Matsuda2011-05-181-17/+16
* Correct migration name the test is looking to match.Ben Orenstein2011-02-041-1/+1
* Configurable generation of add_index for references columnsMichał Łomnicki2011-02-011-0/+41