Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up class collisions check and a class method helper. | José Valim | 2009-06-26 | 1 | -0/+6 |
| | |||||
* | Class collision checks. | José Valim | 2009-06-26 | 1 | -1/+1 |
| | |||||
* | Added HelperGenerator. | José Valim | 2009-06-26 | 3 | -2/+38 |
| | |||||
* | Added integration and performance test generators. | José Valim | 2009-06-26 | 2 | -0/+36 |
| | |||||
* | More tests for mailer. | José Valim | 2009-06-25 | 1 | -1/+7 |
| | |||||
* | Mailer tests. | José Valim | 2009-06-25 | 1 | -0/+48 |
| | |||||
* | More code refactoring. | José Valim | 2009-06-25 | 1 | -0/+24 |
| | |||||
* | Added class collision checks. | José Valim | 2009-06-25 | 3 | -12/+18 |
| | |||||
* | Added observer generator. | José Valim | 2009-06-25 | 1 | -0/+34 |
| | |||||
* | Make tests pass again after merge. | José Valim | 2009-06-25 | 1 | -0/+4 |
| | |||||
* | Tests for metal generator. | José Valim | 2009-06-25 | 2 | -4/+18 |
| | |||||
* | Tests for plugin generator. | José Valim | 2009-06-25 | 4 | -8/+58 |
| | |||||
* | Change current sstructure. | José Valim | 2009-06-23 | 10 | -627/+345 |
| | |||||
* | Removing template runner old specs. | José Valim | 2009-06-23 | 1 | -216/+0 |
| | |||||
* | Add an model_subclass generator. | Fabien Jakimowicz | 2009-05-27 | 1 | -0/+15 |
| | | | | | | | | This generator creates a new model as a subclass of an existing model and the unit test for that model. Lets users avoid having to manually delete the fixtures and migration or remember to pass those arguments. [#2702 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fixed that template runner gem method to output :lib => false correctly ↵ | Damian Terentiev | 2009-03-12 | 1 | -0/+5 |
| | | | | | | [#1940 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added :env option for gem in template runner [#1983 state:resolved] | Andrew Vit | 2009-02-28 | 1 | -0/+11 |
| | | | | | | | | | For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb: gem 'rspec', :env => 'test' gem 'quietbacktrace', :env => %w[development test] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure template_runner can run script/* ruby scripts under Windows. [#1859 ↵ | unknown | 2009-02-16 | 1 | -3/+13 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix broken scaffolding tests [#1889 state:committed] | Mike Gunderloy | 2009-02-05 | 1 | -2/+2 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -11/+9 |
| | |||||
* | Ensure template runner tests don't depend on hash ordering [#1654 ↵ | Mike Gunderloy | 2008-12-28 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵ | Aaron Quint | 2008-12-27 | 1 | -0/+190 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add helper test generators [#1199 state:resolved] | Eugene Bolshakov | 2008-11-17 | 5 | -27/+83 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Don't include the path when checking class collisions [#545 state:resolved] | Joshua Peek | 2008-10-13 | 1 | -0/+3 |
| | |||||
* | Generate belongs_to association when generating a model | Tarmo Tänav | 2008-08-23 | 1 | -0/+8 |
| | |||||
* | Generate belongs_to associations automatically for 'references' types [#640 ↵ | Tarmo Tänav | 2008-08-23 | 1 | -0/+8 |
| | | | | state:resolved] | ||||
* | Stub out timestamped_migrations in generator tests | Joshua Peek | 2008-07-19 | 1 | -1/+2 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Added tests to show that 2d372d7 breaks old generator behavior (#545 ↵ | Joshua Peek | 2008-07-11 | 1 | -0/+19 |
| | | | | state:resolved) | ||||
* | Warn and uses singularized ModelName if a plural ModelName is given to ↵ | Pat George | 2008-06-27 | 1 | -0/+42 |
| | | | | | | script/generate. Override with --force-plural. [#333 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -30/+30 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add some test coverage for RailsControllerGenerator. | Joshua Peek | 2008-05-13 | 2 | -10/+44 |
| | |||||
* | * Remove default_url_options from mailer generator | Cody Fauser | 2008-04-21 | 1 | -3/+3 |
| | | | | | | * Improve mailer documentation regarding generating URLs * Add no_match to mailer generator to warn contributors about default_url_options Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add example for default_url_options[:host] to generated mailers. | Mislav Marohnić | 2008-04-18 | 1 | -1/+4 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Changed mailer generator to not use instance variables. | Mislav Marohnić | 2008-04-18 | 1 | -6/+6 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Cleanup generator tests by extracting repeated code into ↵ | Mislav Marohnić | 2008-04-18 | 5 | -358/+225 |
| | | | | | | generator_test_helper. Add test for mailer generator. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Update generator tests. Closes #11487 [thechrisoshow] | Jeremy Kemper | 2008-04-01 | 4 | -131/+136 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 3 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 ↵ | Jeremy Kemper | 2007-12-10 | 4 | -32/+32 |
| | | | | | | [Pratik Naik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix typos (closes #10378) | David Heinemeier Hansson | 2007-12-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Model generator tests. Closes #8966 [abhay] | Jeremy Kemper | 2007-10-11 | 1 | -0/+109 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Whitespace fix. Closes #9845. | Jeremy Kemper | 2007-10-11 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Missing test | David Heinemeier Hansson | 2007-06-23 | 1 | -0/+106 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added --skip-migration option to scaffold and resource generators (closes ↵ | David Heinemeier Hansson | 2007-06-23 | 2 | -37/+60 |
| | | | | | | #8656) [Michael Glaesemann] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Get picky about weird Ruby style. | Jeremy Kemper | 2007-06-10 | 1 | -12/+12 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Scaffolded validation errors set the appropriate HTTP status for XML ↵ | Jeremy Kemper | 2007-06-10 | 1 | -28/+30 |
| | | | | | | responses. Closes #8622. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Generated migrations include timestamps by default. Closes #8501. | Jeremy Kemper | 2007-05-29 | 1 | -1/+12 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Scaffold generator tests. Closes #8443. | Jeremy Kemper | 2007-05-23 | 2 | -0/+344 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Railties: generator tests passing | Jeremy Kemper | 2006-08-29 | 2 | -2/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | r3023@asus: jeremy | 2005-07-12 23:43:39 -0700 | Jeremy Kemper | 2005-07-13 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | Remove superfluous inherited override in Dependencies. r3024@asus: jeremy | 2005-07-12 23:54:28 -0700 Make test the default railties rake target. r3025@asus: jeremy | 2005-07-12 23:55:27 -0700 Encapsulate dispatch call in dispatcher test. r3026@asus: jeremy | 2005-07-12 23:56:14 -0700 Expand dispatcher mock to match full method signature for process. r3027@asus: jeremy | 2005-07-12 23:57:24 -0700 Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators. r3028@asus: jeremy | 2005-07-13 00:00:47 -0700 Update changelog. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |