Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | respect `pluralize_table_names` when generate fixture file. fixes #19519 | yuuji.yaginuma | 2015-03-27 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -4/+16 |
| | |||||
* | 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 | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-10-11 | 1 | -3/+3 |
|\ | | | | | | | | | | | Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb | ||||
| * | nodoc TestUnit::Generators [ci skip] | Francesco Rodriguez | 2012-10-07 | 1 | -3/+3 |
| | | |||||
* | | Update test locations | Mike Moore | 2012-10-09 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional) | ||||
* | 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> | ||||
* | Patch for Namespace problem in Scaffold. [#4763 state:resolved] | Mohammed Siddick.E | 2010-06-23 | 1 | -1/+1 |
| | | | | 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 | 3 | -0/+55 |
| | | | | 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 | 3 | -55/+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 | 3 | -0/+51 |