Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | set association name to generated fixtures if attribute is reference | yuuji.yaginuma | 2016-02-06 | 1 | -1/+1 |
| | | | | | | | It has been changed to require `belongs_to` by default in Rails 5. Therefore in order to pass the controller test, have association of set to fixtures. Fixes #23384 | ||||
* | remove extra spaces in fixtures doc part | Gaurav Sharma | 2015-12-13 | 1 | -2/+2 |
| | | | | | | | | | | | ``` Every time when a fixture generate, it’s also generating improper doc. one: {} # column: value # two: {} # column: value ``` | ||||
* | Generated fixtures won't use parent_id when generated with parent:references | Pablo Olmos de Aguilera Corradini | 2015-01-02 | 1 | -0/+2 |
| | | | | Fix #18301 | ||||
* | Update a broken link into the fixtures' template | Robin Dupret | 2013-06-29 | 1 | -1/+1 |
| | |||||
* | Add support for generate scaffold password:digest | Sam Ruby | 2013-03-13 | 1 | -9/+7 |
| | | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture | ||||
* | quote column names in generated fixture files | Yves Senn | 2012-12-26 | 1 | -4/+4 |
| | |||||
* | Make sure that no extra spaces are created with a non-polymorphic | Rafael Mendonça França | 2012-12-10 | 1 | -2/+6 |
| | | | | attributes | ||||
* | Add GeneratedAttribute#column_name to get the name of the column in the | Rafael Mendonça França | 2012-12-10 | 1 | -2/+2 |
| | | | | database | ||||
* | Deal with polymorphic attributes correctly in the generators | Rafael Mendonça França | 2012-12-10 | 1 | -0/+2 |
| | |||||
* | Make references and belongs_to attributes to generate the _id column in | Rafael Mendonça França | 2012-12-10 | 1 | -2/+2 |
| | | | | fixtures | ||||
* | restores the API docs of AR::Fixtures, made a quick pass over them, revises ↵ | Xavier Noria | 2011-09-03 | 1 | -1/+1 |
| | | | | link in fixture template [closes #2840] | ||||
* | for ... in => .each | Akira Matsuda | 2011-05-18 | 1 | -3/+3 |
| | | | | I believe this is more modern way | ||||
* | Stop adding actual dummy tests (they clutter up the real ones in a new app), ↵ | David Heinemeier Hansson | 2011-04-23 | 1 | -4/+3 |
| | | | | just show how its done | ||||
* | revises links to the API websites of individual components (no longer ↵ | Xavier Noria | 2011-03-09 | 1 | -1/+1 |
| | | | | maintained), and rewrites the section about after and around filters in the controller guide | ||||
* | Add namespace for test_unit generators | Piotr Sarnacki | 2010-09-25 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 2 | -0/+31 |
| | | | | former since it's less obstrusive. | ||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 2 | -31/+0 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Models with no attributes should just have empty hash fixtures [Sam] (Closes ↵ | David Heinemeier Hansson | 2009-12-17 | 1 | -5/+9 |
| | | | | #3563) | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 2 | -0/+27 |