aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/applications
Commit message (Collapse)AuthorAgeFilesLines
...
* Teach Rails apps to only load gems of the same Rails version they were ↵Nicholas Seckar2006-04-011-1/+1
| | | | | | generated with. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The Ruby path should be a string (closes #4361) [DHH]David Heinemeier Hansson2006-03-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added public/javascripts/application.js as a sample since it'll ↵David Heinemeier Hansson2006-03-041-15/+6
| | | | | | automatically be included in javascript_include_tag :defaults [DHH] (backed out of -a/--with-assets, not worth it) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -a/--with-assets option to rails generator that will include default ↵David Heinemeier Hansson2006-03-041-3/+13
| | | | | | assets for application layout, javascript, and stylesheet [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed the "oci" adapter to "oracle", but kept the old name as an alias ↵David Heinemeier Hansson2006-03-011-2/+2
| | | | | | (closes #4017) [schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Guard against app generation if the database specified isnt supported for ↵David Heinemeier Hansson2006-02-281-0/+3
| | | | | | preconfiguration [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add integration test support to app generation and testingJamis Buck2006-02-281-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -r/--repeat option to script/process/spawner that offers the same loop ↵David Heinemeier Hansson2006-02-261-1/+1
| | | | | | protection as the spinner did. This deprecates the script/process/spinner, so it's no longer included in the default Rails skeleton, but still available for backwards compatibility (closes #3461) [ror@andreas-s.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the ↵David Heinemeier Hansson2006-02-251-0/+3
| | | | | | Rails skeleton [DHH] Changed the default session configuration to place sessions in tmp/sessions, if that directory is available, instead of /tmp (this essentially means a goodbye to 9/10 White Screen of Death errors and should have web hosting firms around the world cheering) [DHH] Added a default configuration of the FileStore for fragment caching if tmp/cache is available, which makes action/fragment caching ready to use out of the box with no additional configuration [DHH] Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepare order for uncommenting, use consistent opt options [DHH]David Heinemeier Hansson2006-02-251-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -d/--database option to the rails command, so you can do "rails ↵David Heinemeier Hansson2006-02-251-16/+18
| | | | | | --database=sqlite2 myapp" to start a new application preconfigured to use SQLite2 as the database. Removed the configuration examples from SQLite and PostgreSQL from the default MySQL configuration [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Windows: eliminate the socket option in database.yml. Closes #2924.Jeremy Kemper2005-11-181-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed all script/* to use /usr/bin/env ruby instead of hard-coded Ruby ↵David Heinemeier Hansson2005-11-091-4/+5
| | | | | | path. public/dispatcher.* still uses the hard-coded path for compatibility with web servers that dont have Ruby in path [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an omnipresent RailsInfoController with a properties action that ↵Sam Stephenson2005-11-081-0/+1
| | | | | | delivers an HTML rendering of Rails::Info (but only when local_request? is true). Added a new default index.html which fetches this with Ajax. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Copy lighttpd.conf when it is first needed, instead of on app creationJamis Buck2005-11-071-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added default lighttpd config in config/lighttpd.conf and added a default ↵David Heinemeier Hansson2005-11-071-1/+1
| | | | | | runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/about to display formatted Rails::Info outputSam Stephenson2005-11-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change javascript_include_tag :defaults to not use script.aculo.us loader, ↵Thomas Fuchs2005-11-011-3/+0
| | | | | | which facilitates the use of plugins for future script.aculo.us and third party javascript extensions, and provide register_javascript_include_default for plugins to specify additional JavaScript files to load. Removed scriptaculous.js, slider.js and builder.js git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us to V1.5_rc4Thomas Fuchs2005-10-291-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add default Mac + DarwinPorts MySQL socket locations to the app generator.Jeremy Kemper2005-10-291-5/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2800 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
* 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
* Added plugin generator to create a stub structure for a new plugin in ↵David Heinemeier Hansson2005-10-281-1/+0
| | | | | | 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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 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
* 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