aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* Ensure template runner tests don't depend on hash ordering [#1654 ↵Mike Gunderloy2008-12-281-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵Aaron Quint2008-12-271-0/+190
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add helper test generators [#1199 state:resolved]Eugene Bolshakov2008-11-175-27/+83
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't include the path when checking class collisions [#545 state:resolved]Joshua Peek2008-10-131-0/+3
|
* Generate belongs_to association when generating a modelTarmo Tänav2008-08-231-0/+8
|
* Generate belongs_to associations automatically for 'references' types [#640 ↵Tarmo Tänav2008-08-231-0/+8
| | | | state:resolved]
* Stub out timestamped_migrations in generator testsJoshua Peek2008-07-191-1/+2
|
* Merge with docrails.Pratik Naik2008-07-161-1/+1
|
* Added tests to show that 2d372d7 breaks old generator behavior (#545 ↵Joshua Peek2008-07-111-0/+19
| | | | state:resolved)
* Warn and uses singularized ModelName if a plural ModelName is given to ↵Pat George2008-06-271-0/+42
| | | | | | script/generate. Override with --force-plural. [#333 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge docrails.Pratik Naik2008-05-251-30/+30
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add some test coverage for RailsControllerGenerator.Joshua Peek2008-05-132-10/+44
|
* * Remove default_url_options from mailer generatorCody Fauser2008-04-211-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-181-1/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Changed mailer generator to not use instance variables.Mislav Marohnić2008-04-181-6/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Cleanup generator tests by extracting repeated code into ↵Mislav Marohnić2008-04-185-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 Kemper2008-04-014-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 pathJeremy Kemper2008-01-053-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 Kemper2007-12-104-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 Hansson2007-12-051-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 Kemper2007-10-111-0/+109
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Whitespace fix. Closes #9845.Jeremy Kemper2007-10-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing testDavid Heinemeier Hansson2007-06-231-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 Hansson2007-06-232-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 Kemper2007-06-101-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 Kemper2007-06-101-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 Kemper2007-05-291-1/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold generator tests. Closes #8443.Jeremy Kemper2007-05-232-0/+344
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Railties: generator tests passingJeremy Kemper2006-08-292-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 -0700Jeremy Kemper2005-07-131-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
* Added a better generator for scaffolding that actually creates the code, so ↵David Heinemeier Hansson2004-12-071-0/+0
it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de