aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/model_generator_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Use Rails 3.1 `change` method in model generatorPrem Sichanugrist2011-01-041-6/+2
* Skip creating migration if --skip option is passed to model generator [#6144 ...Piotr Sarnacki2010-12-161-3/+15
* Facepunch failing tests.José Valim2010-11-181-3/+3
* Remove existing migration when using 'rails generate model' with --force [#55...David Trasbo2010-09-181-0/+9
* Add two integration tests for GeneratedAttribute missing type error. [#5461 s...rohit2010-09-021-0/+6
* Generate module file for namespaced models [#4230 state:resolved]Andrew White2010-04-121-0/+8
* Load generators from both lib/rails/generators and lib/generators. Using the ...José Valim2010-03-231-1/+1
* Get generators tests running on Ruby 1.9.1José Valim2010-01-191-1/+2
* Generators load path now will be Ruby load path. If you want to use rspec:ins...José Valim2010-01-181-1/+1