Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Use the attributes hash explicitly | Rafael Mendonça França | 2012-03-13 | 2 | -6/+18 |
| | |||||
* | Do not use the attributes hash in the scaffold functional tests | Rafael Mendonça França | 2012-03-12 | 2 | -2/+11 |
| | |||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 2 | -22/+0 |
| | |||||
* | Add generators for serializers. | José Valim | 2011-11-25 | 2 | -0/+22 |
| | |||||
* | Remove needless to_param in scaffold functional test | Alexey Vakhov | 2011-10-24 | 1 | -4/+4 |
| | |||||
* | 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] | ||||
* | fixtures :all is already included in test_helper.rb | Santiago Pastorino | 2011-06-23 | 1 | -2/+0 |
| | |||||
* | Remove trailing white-spaces | Guillermo Iguaran | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | for ... in => .each | Akira Matsuda | 2011-05-18 | 3 | -5/+5 |
| | | | | I believe this is more modern way | ||||
* | added a note about profiling options to the generators | Gonçalo Silva | 2011-05-09 | 1 | -1/+4 |
| | |||||
* | Stop adding actual dummy tests (they clutter up the real ones in a new app), ↵ | David Heinemeier Hansson | 2011-04-23 | 6 | -24/+18 |
| | | | | just show how its done | ||||
* | Rails will now generate Ruby 1.9 style hash when running scaffold_controller ↵ | Prem Sichanugrist | 2011-04-10 | 1 | -5/+5 |
| | | | | | | | | generator on Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. This patch has been requested by DHH. | ||||
* | 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 | ||||
* | Fix scaffold generator to be aware of namespace in isolated engine | Piotr Sarnacki | 2010-11-03 | 1 | -0/+2 |
| | |||||
* | Add namespacing to mailer generator | Piotr Sarnacki | 2010-09-25 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add namespacing for observer generator | Piotr Sarnacki | 2010-09-25 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add namespace for test_unit generators | Piotr Sarnacki | 2010-09-25 | 3 | -0/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove the --singeleton option from scaffold generator. | Prem Sichanugrist | 2010-06-24 | 2 | -3/+0 |
| | | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Patch for Namespace problem in Scaffold. [#4763 state:resolved] | Mohammed Siddick.E | 2010-06-23 | 2 | -13/+13 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make polymorphic_url and scaffolding work with uncountable resources [#3930 ↵ | Andrew White | 2010-06-20 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | performance and integration tests inherit from AD, not AC | Gonçalo Silva | 2010-05-28 | 2 | -2/+2 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Just assert for 'Hi' in generated mailer tests. | José Valim | 2010-03-26 | 1 | -1/+1 |
| | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 20 | -0/+298 |
| | | | | 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 | 21 | -293/+0 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | |||||
* | Merge | David Heinemeier Hansson | 2010-01-03 | 1 | -2/+2 |
| | |||||
* | Models with no attributes should just have empty hash fixtures [Sam] (Closes ↵ | David Heinemeier Hansson | 2009-12-17 | 1 | -5/+9 |
| | | | | #3563) | ||||
* | Fix generated performance test helper requires | Jeremy Kemper | 2009-11-10 | 1 | -1/+1 |
| | |||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 21 | -0/+291 |