Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | API apps scaffold generator generates an apropriate controller | Santiago Pastorino | 2015-06-11 | 2 | -1/+46 | |
| | ||||||
* | Merge pull request #20387 from y-yagi/fix_engine_generated_controller_test | Yves Senn | 2015-06-02 | 3 | -1/+19 | |
|\ | | | | | | | set engine's route in the functional test is generated in the engine | |||||
| * | add engine's namespace to fixture name | yuuji.yaginuma | 2015-05-31 | 2 | -1/+10 | |
| | | ||||||
| * | set engine's route in the functional test is generated in the engine | yuuji.yaginuma | 2015-05-31 | 2 | -0/+9 | |
|/ | ||||||
* | Removed `assigns` from functional_test templates | Prathamesh Sonpatki | 2015-05-02 | 1 | -3/+2 | |
| | | | | | - Based on DHH's suggestion about deprecating `assigns` in https://github.com/rails/rails/pull/18305#issuecomment-68605166. | |||||
* | respect `pluralize_table_names` when generate fixture file. fixes #19519 | yuuji.yaginuma | 2015-03-27 | 1 | -1/+1 | |
| | ||||||
* | add mailer suffix to comments for email previews | yuuji.yaginuma | 2015-03-15 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #18393 from y-yagi/fix_mailer | Rafael Mendonça França | 2015-02-18 | 2 | -1/+6 | |
|\ | | | | | follow up to #18074 | |||||
| * | follow up to #18074 | yuuji.yaginuma | 2015-01-08 | 2 | -1/+6 | |
| | | | | | | | | | | * ignore mailer suffix when generate test files * add mailer suffix to view files | |||||
* | | scaffold controller_test template should use kwargs. refs #18323. | Yves Senn | 2015-01-30 | 1 | -5/+5 | |
|/ | | | | This prevents a flood of warnings when generating a new scaffold. | |||||
* | Add mailer suffix to generated files and classes | Carlos Souza | 2015-01-06 | 3 | -6/+6 | |
| | | | | | Following the same naming convention used in controllers and jobs. | |||||
* | 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 | |||||
* | correct filename for jobs tests | Abdelkader Boudih | 2014-09-28 | 1 | -1/+1 | |
| | ||||||
* | Change ActiveJob test directory to "test/jobs" | yuuji.yaginuma | 2014-09-13 | 1 | -1/+1 | |
| | ||||||
* | Remove extra newline from ActiveJob test template | yuuji.yaginuma | 2014-09-09 | 1 | -1/+0 | |
| | ||||||
* | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 1 | -1/+0 | |
| | ||||||
* | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 1 | -1/+3 | |
| | ||||||
* | [ActiveJob] Add hook for test_framework and test templates | Abdelkader Boudih | 2014-08-22 | 2 | -0/+22 | |
| | ||||||
* | Bring back the helpers tests | José Valim | 2014-08-05 | 1 | -0/+9 | |
| | | | | | Also keep the hook as other tools may rely on it, we just don't do anything by default on Rails. | |||||
* | Generating stubs for helper tests is overly specific. Most helpers should ↵ | David Heinemeier Hansson | 2014-08-03 | 2 | -19/+0 | |
| | | | | simply be tested as part of the view thats using them. If you need something beyond that, you can add a test yourself for them | |||||
* | Add comments with urls for email previews | Andrew White | 2013-12-22 | 1 | -0/+2 | |
| | ||||||
* | Add mailer previews feature based on mail_view gem | Andrew White | 2013-12-17 | 2 | -1/+19 | |
| | ||||||
* | Revert "Rename not Ruby files to .tt" | Santiago Pastorino | 2013-12-10 | 6 | -0/+0 | |
| | | | | | | This reverts commit bd360ad3c1d59273bf96ea01b17cf04285816dc2. Reverting this for now until we fix the Thor related issue | |||||
* | Rename not Ruby files to .tt | Santiago Pastorino | 2013-12-10 | 6 | -0/+0 | |
| | ||||||
* | Added generated unit test for generator generator and new test:generators ↵ | Josef Šimánek | 2013-07-16 | 2 | -0/+42 | |
| | | | | rake task included in test:all rake task. | |||||
* | 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 | 2 | -10/+12 | |
| | | | | | | | | | | * 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 | |||||
* | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 2 | -25/+0 | |
| | ||||||
* | test PATCH method for update action in generated scaffold controller test ↵ | Akira Matsuda | 2013-01-03 | 1 | -1/+1 | |
| | | | | rather than PUT | |||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 | |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | |||||
* | 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 | |||||
* | Extract a attributes_names method to avoid duplication | Rafael Mendonça França | 2012-12-10 | 1 | -12/+4 | |
| | ||||||
* | Deal with polymorphic attributes correctly in the generators | Rafael Mendonça França | 2012-12-10 | 2 | -5/+13 | |
| | ||||||
* | Make references and belongs_to attributes to generate the _id column in | Rafael Mendonça França | 2012-12-10 | 1 | -2/+2 | |
| | | | | fixtures | |||||
* | Put the reference and belongs_to attributes in the scaffold tests. | Rafael Mendonça França | 2012-12-10 | 1 | -6/+3 | |
| | ||||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 2 | -22/+0 | |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 10 | -16/+16 | |
| | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-10-11 | 9 | -27/+27 | |
|\ | | | | | | | | | | | 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 | 9 | -27/+27 | |
| | | ||||||
* | | Update test locations | Mike Moore | 2012-10-09 | 6 | -6/+6 | |
|/ | | | | | | | | | | | | | | 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) | |||||
* | update performance test template to use test method | Francesco Rodriguez | 2012-07-06 | 1 | -1/+1 | |
| | ||||||
* | require "rubygems" is obsolete in Ruby 1.9.3 | Kornelius Kalnbach | 2012-05-13 | 1 | -1/+0 | |
| | ||||||
* | Remove unused generator options. This was added for the removed rails new --http | Santiago Pastorino | 2012-04-18 | 1 | -3/+0 | |
| | ||||||
* | Adding comma to correct syntax in comment. | Jesse Brown | 2012-03-19 | 1 | -1/+1 | |
| | ||||||
* | Remove --http. | José Valim | 2012-03-14 | 2 | -54/+2 | |
| | ||||||
* | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 2 | -1/+56 | |
| | | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Remove key_value helper now that master is 1.9 only and we always use | Rafael Mendonça França | 2012-03-13 | 2 | -10/+6 | |
| | | | | the 1.9 hash syntax in the generators. | |||||
* | Refactor the test_unit scaffold generator to use the key_value method | Rafael Mendonça França | 2012-03-13 | 1 | -1/+1 | |
| |