aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix shebang handling for empty files. References #2927.Jeremy Kemper2005-12-091-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generator copies files in binary mode. References #3156.Jeremy Kemper2005-12-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Connection cache to speed up retrieve_connection and get rid of dirty ↵Jeremy Kemper2005-12-041-1/+1
| | | | | | connection marking. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add install.rb file to plugin generation which is loaded, if it exists, when ↵Marcel Molina2005-12-034-1/+12
| | | | | | you install a plugin. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Run initialize_logger in script/lighttpd to ensure the log file exists ↵Sam Stephenson2005-11-302-6/+9
| | | | | | before tailing it git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make load_fixtures include csv fixtures. Closes #3053.Marcel Molina2005-11-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix freeze_gems so that the latest rails version is dumped by defaultNicholas Seckar2005-11-281-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/plugin: handle root paths and plugin names which contain spaces. ↵Jeremy Kemper2005-11-231-10/+11
| | | | | | References #2995. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Model generator: correct relative path to test_helper in unit test.Jeremy Kemper2005-11-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove superfluous check for pluralize_table_names (use table_name which ↵Sam Stephenson2005-11-221-1/+1
| | | | | | does this check when it's set). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the db_schema_dump task honor the SCHEMA environment variable if ↵Marcel Molina2005-11-211-1/+1
| | | | | | present the way db_schema_import does. Closes #2931. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Have the lighttpd server script report the actual ip to which the server is ↵Sam Stephenson2005-11-211-3/+6
| | | | | | bound. Closes #2903. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add plugin library directories to the load path after the lib directory so ↵Marcel Molina2005-11-211-3/+7
| | | | | | that libraries in the lib directory get precedence. Closes #2910. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make help for the console command more explicit about how to specify the ↵Marcel Molina2005-11-211-0/+1
| | | | | | desired environment in which to run the console. Closes #2911. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify ↵Jeremy Kemper2005-11-201-1/+1
| | | | | | the template0 template when creating a fresh test database. Closes #2964. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allows generator to specify migrations directory. References #2960.Jeremy Kemper2005-11-203-4/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introducing the session_migration generator. Creates an add_session_table ↵Jeremy Kemper2005-11-205-53/+88
| | | | | | migration. References #2958. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3181@asus: jeremy | 2005-11-19 02:52:24 -0800Jeremy Kemper2005-11-191-0/+1
| | | | | | | Mark connections for verification. Retrieve connection verifies before returning a connection. Verification tests whether the connection is marked then reconnects if the connection is inactive. All active connections are marked for verification after a request is handled. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/console uses RAILS_ENV environment variable if present. Closes #2932.Jeremy Kemper2005-11-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3083 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
* Eliminate nil from newly generated logfiles. References #2927.Jeremy Kemper2005-11-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* replaced constant Plugin in documentation rake task with plugin local ↵Tobias Lütke2005-11-171-3/+3
| | | | | | variable. This caused typo's migrations to fail because of name space collisions [Eridius] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename Version constant to VERSION. Closes #2802.Marcel Molina2005-11-173-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove CHANGELOG from apidoc Rake task since it isn't included with new apps ↵Jeremy Kemper2005-11-161-1/+0
| | | | | | anymore. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Eliminate Subversion dependencies in scripts/plugin. Correct install ↵Jeremy Kemper2005-11-131-61/+94
| | | | | | options. Introduce --force option to reinstall a plugin. Closes #2842. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test and purge_test_database Rake tasks ↵Jeremy Kemper2005-11-131-1/+1
| | | | | | should always use the test environment. Reference #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test Rake task should always use the test ↵Jeremy Kemper2005-11-131-1/+1
| | | | | | environment. References #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pulled auto-starting browser: More pain than gainDavid Heinemeier Hansson2005-11-123-7/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that legacy db tasks also reference :database for SQLite (closes ↵David Heinemeier Hansson2005-11-111-3/+6
| | | | | | #2830) [kazuhiko@fdiary.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass __FILE__ when evaluating plugins' init.rb. Closes #2817.Jeremy Kemper2005-11-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better svn status matching for generators. Closes #2814.Jeremy Kemper2005-11-101-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabled stderr suppressing until activesupport is available also in non-gem ↵David Heinemeier Hansson2005-11-101-1/+1
| | | | | | mode git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't reload routes until plugins have been loaded so they have a chance to ↵David Heinemeier Hansson2005-11-101-1/+3
| | | | | | extend the routing capabilities [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't detach or fork for script/server tailingNicholas Seckar2005-11-091-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added automatic browser launching on OS X when starting script/server [DHH]David Heinemeier Hansson2005-11-093-3/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed all script/* to use /usr/bin/env ruby instead of hard-coded Ruby ↵David Heinemeier Hansson2005-11-093-7/+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
* Force RAILS_ENV to be "test" when running tests, so that ENV["RAILS_ENV"] = ↵David Heinemeier Hansson2005-11-091-0/+4
| | | | | | "production" in config/environment.rb doesnt wreck havok [DHH] (closes #2660) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct versioning in :freeze_gems Rake task. Closes #2778.Jeremy Kemper2005-11-081-20/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an omnipresent RailsInfoController with a properties action that ↵Sam Stephenson2005-11-085-3/+15
| | | | | | 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
* Adding new scripts should set them 0755.Scott Barron2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for 0.14.3 (RC4)David Heinemeier Hansson2005-11-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'add_new_scripts' rake task for adding new rails scripts to script/*Jamis Buck2005-11-071-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise in stubby/init.rb if it doesn't have access to directory or config. ↵Jeremy Kemper2005-11-071-1/+1
| | | | | | loaded_plugins is a set of plugin names (so it will be usable with multiple paths, gems, etc). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove bogus hyphen from script/process/reaper calls to 'ps'. Closes #2767.Jeremy Kemper2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Copy lighttpd.conf when it is first needed, instead of on app creationJamis Buck2005-11-072-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use require_library_or_gem 'fcgi' in script/serverSam Stephenson2005-11-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restore access to 'directory' and 'config' inside the plugin eval environmentJamis Buck2005-11-071-6/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2919 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure to check for FCGI as well as lighttpdDavid Heinemeier Hansson2005-11-072-4/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added default lighttpd config in config/lighttpd.conf and added a default ↵David Heinemeier Hansson2005-11-072-0/+104
| | | | | | 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@2913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added default lighttpd config in config/lighttpd.conf and added a default ↵David Heinemeier Hansson2005-11-073-102/+20
| | | | | | 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