aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators
Commit message (Collapse)AuthorAgeFilesLines
* Added that plugins can carry generators and that generator stub files can be ↵David Heinemeier Hansson2005-10-284-2/+43
| | | | | | created along with new plugins using script/generate plugin <name> --with-generator [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed app/apis as a default empty dir since its automatically created when ↵David Heinemeier Hansson2005-10-281-2/+0
| | | | | | using script/generate web_service [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/plugin to manage plugins (install, remove, list, etc) [Ryan ↵David Heinemeier Hansson2005-10-281-1/+1
| | | | | | Tomayko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Rakefile to plugin generator. Let test_plugins rake task look deeper ↵Jeremy Kemper2005-10-283-12/+40
| | | | | | into plugins' test dirs. Make plugin test cases flunk by default. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added default lighttpd config in config/lighttpd.conf and added a default ↵David Heinemeier Hansson2005-10-281-3/+4
| | | | | | runner for lighttpd in script/lighttpd (works like script/server, but using lighttpd and FastCGI) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Plugin tests should include test/unitDavid Heinemeier Hansson2005-10-281-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added plugin generator to create a stub structure for a new plugin in ↵David Heinemeier Hansson2005-10-288-1/+51
| | | | | | vendor/plugins (see "script/generate plugin" for help) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the old way of getting args to the scaffold generator and un-screwup the ↵Jeremy Kemper2005-10-281-5/+3
| | | | | | controller name assignment appropriately. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added app/services as a default dir in the Rails skeleton and to the load ↵David Heinemeier Hansson2005-10-281-0/+1
| | | | | | path. Use it to keep classes like MaintenanceService and PaymentGateway [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed scaffold generator when started with only 1 parameter (closes #2609) ↵David Heinemeier Hansson2005-10-281-1/+8
| | | | | | [self@mattmower.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper CSS color definition (closes #2334)David Heinemeier Hansson2005-10-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clarify semantics of ActiveRecord::Base#respond_to? Closes #2560.Jeremy Kemper2005-10-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold generator pays attention to the controller name. Closes #2562.Jeremy Kemper2005-10-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* attempt to fix #2500Michael Koziarski2005-10-171-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* suppress mysql_config errorsJeremy Kemper2005-10-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove util.jsDavid Heinemeier Hansson2005-10-161-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Try to figure out which mysql socket to use. Default to ↵Jeremy Kemper2005-10-161-1/+6
| | | | | | /path/to/your/mysql.sock git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use expand_path for app_name so, e.g., rails . is supportedJeremy Kemper2005-10-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the rails command use the application name for database names in the ↵Florian Weber2005-10-161-1/+1
| | | | | | tailored database.yml file. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed script/performanceDavid Heinemeier Hansson2005-10-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moving perform to performanceDavid Heinemeier Hansson2005-10-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3619@sedna: jeremy | 2005-10-14 14:41:24 -0700Jeremy Kemper2005-10-141-2/+3
| | | | | | | | | move scripts r3622@sedna: jeremy | 2005-10-14 14:54:48 -0700 remove script/perform and script/process in favor of script/perform/profile, etc. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype to V1.4.0_pre11, script.aculo.us to [2502] and fix the ↵Thomas Fuchs2005-10-091-4/+7
| | | | | | rails generator to include the new .js files [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look here, braces: gimme some elbow room. #2418Jeremy Kemper2005-10-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont include script/process dirDavid Heinemeier Hansson2005-10-061-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont include runDavid Heinemeier Hansson2005-10-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of script/run portal idea. Muscle memory too deepDavid Heinemeier Hansson2005-10-061-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed all the scripts in script/* and replaced it with one generic portal: ↵David Heinemeier Hansson2005-09-291-8/+1
| | | | | | script/run git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make table_name and controller_name in generators honor ↵Marcel Molina2005-09-281-1/+1
| | | | | | AR::Base.pluralize_table_names. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the migration generator only check files ending in *.rb when ↵Sam Stephenson2005-09-271-1/+1
| | | | | | calculating the next file name #2317 [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added prevention of duplicate migrations from the generator #2240 ↵David Heinemeier Hansson2005-09-241-0/+2
| | | | | | [fbeausoleil@ftml.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that generate scaffold claims all words are reserved #2200, #2211 ↵David Heinemeier Hansson2005-09-171-2/+3
| | | | | | [alancfrancis@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved config/tasks to lib/tasks and added more documentation to environment.rbDavid Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont encode the default subject for the test cases since they are within the ↵David Heinemeier Hansson2005-09-061-1/+1
| | | | | | ascii range git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is ↵David Heinemeier Hansson2005-09-031-0/+1
| | | | | | empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the scaffold generator to fail right away if the database isn't ↵David Heinemeier Hansson2005-09-031-24/+24
| | | | | | accessible instead of in mid-air #1169 [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix documentation for mailer generatorDavid Heinemeier Hansson2005-09-021-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the default rakefile read *.rake files from config/tasks (for easy ↵Jamis Buck2005-08-311-0/+1
| | | | | | extension of the rakefile by e.g. generators) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove switchtower integration from railsJamis Buck2005-08-301-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace render_partial with render :partial in scaffold generatorNicholas Seckar2005-08-172-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add integration with SwitchTower (rake tasks, default deploy.rb recipe)Jamis Buck2005-08-031-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added convenience controls for FCGI processes (especially when managed ↵David Heinemeier Hansson2005-07-241-3/+3
| | | | | | remotely): spinner, spawner, and reaper. They reside in script/process. More details can be had by calling them with -h/--help git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an empty robots.txt to public/, so that web servers asking for it ↵David Heinemeier Hansson2005-07-221-0/+1
| | | | | | won't trigger a dynamic call, like favicon.ico #1738 [michael@schubert] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show correct paths to generated templates for nexted controllers. Fixes #730Nicholas Seckar2005-07-143-9/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pulled the gateway.cgi until we can make it work properly out the gatesDavid Heinemeier Hansson2005-07-061-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a USAGE document to the migration generatorDavid Heinemeier Hansson2005-07-061-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through ↵David Heinemeier Hansson2005-07-041-1/+2
| | | | | | vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that model generator would make fixtures plural, even if ↵David Heinemeier Hansson2005-07-021-1/+1
| | | | | | ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-281-0/+21
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include the new Javascripts in new appsDavid Heinemeier Hansson2005-06-261-10/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de