aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* Use session_id instead of deprecated sessidDavid Heinemeier Hansson2005-09-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sessions with an sDavid Heinemeier Hansson2005-09-123-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added create_session_table, drop_session_table, and purge_session_table as ↵David Heinemeier Hansson2005-09-124-3/+45
| | | | | | rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore. Added configuration of session options through config.session_options in Rails::Configuration git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added dump of schema version to the db_structure_dump task for databases ↵David Heinemeier Hansson2005-09-122-0/+6
| | | | | | that support migrations #1835 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]David Heinemeier Hansson2005-09-112-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]David Heinemeier Hansson2005-09-112-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont encourage custom url options to be called with symbol #2047David Heinemeier Hansson2005-09-111-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved config/tasks to lib/tasks and added more documentation to environment.rbDavid Heinemeier Hansson2005-09-114-4/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed missing dsDavid Heinemeier Hansson2005-09-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#silence_warnings and puts it into use throughout the frameworkDavid Heinemeier Hansson2005-09-111-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with mime type defaults #2165 [Michael Shuerig]David Heinemeier Hansson2005-09-111-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -m/--mime-types option to the WEBrick server, so you can specify a ↵David Heinemeier Hansson2005-09-093-10/+20
| | | | | | Apache-style mime.types file to load #2059 [ask@develooper.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -c/--svn option to the generator that'll add new files and remove ↵David Heinemeier Hansson2005-09-093-3/+42
| | | | | | destroyed files using svn add/revert/remove as appropriate #2064 [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -c/--charset option to WEBrick controller, so you can specify a ↵David Heinemeier Hansson2005-09-093-1/+18
| | | | | | default charset (which without changes is UTF-8) #2084 [wejn@box.cz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2173 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
* Make the default stats task extendable by modifying the STATS_DIRECTORIES ↵Jamis Buck2005-09-052-9/+13
| | | | | | constant git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have ↵Jamis Buck2005-09-052-1/+6
| | | | | | Rails::Initializer use it if it exists. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence logger initializationDavid Heinemeier Hansson2005-09-033-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix mocks dirDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Talk about whats missingDavid Heinemeier Hansson2005-09-031-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also configure template view pathDavid Heinemeier Hansson2005-09-031-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper clean rakefileDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is ↵David Heinemeier Hansson2005-09-0313-311/+396
| | | | | | 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-032-24/+26
| | | | | | 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
* Corrected project-local generator location in scripts.rb #2010 [Michael ↵Jamis Buck2005-09-022-1/+3
| | | | | | Schuerig] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2099 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
* Don't require the environment just to clear the logs #2093 [Scott Barron]Jamis Buck2005-09-012-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the default rakefile read *.rake files from config/tasks (for easy ↵Jamis Buck2005-08-314-1/+7
| | | | | | extension of the rakefile by e.g. generators) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More rails-switchtower decouplingJamis Buck2005-08-311-7/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is ↵Nicholas Seckar2005-08-312-3/+12
| | | | | | defined. Closes #1957 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove switchtower integration from railsJamis Buck2005-08-307-169/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow the --toggle-spin switch on process/reaper to be negatedJamis Buck2005-08-242-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made SwitchTower conform to the other Rakefiles in terms of PKG description ↵David Heinemeier Hansson2005-08-241-0/+1
| | | | | | and beta gems pushing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace render_partial with render :partial in scaffold generatorNicholas Seckar2005-08-173-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* When copying the config files, also transform and copy the default deploy.rb ↵Jamis Buck2005-08-171-0/+7
| | | | | | script git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the rakefile tasks that set up a new project aware of switchtowerJamis Buck2005-08-173-4/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -w flag to ps in process/reaper #1934 [Scott Barron]Jamis Buck2005-08-122-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add integration with SwitchTower (rake tasks, default deploy.rb recipe)Jamis Buck2005-08-036-0/+153
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the reaper talk to the spinner to make it spin faster during restarts ↵David Heinemeier Hansson2005-07-262-20/+35
| | | | | | and slower afterwards git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Oracle a first-class connection adapter by adhering closer to idiomatic ↵David Heinemeier Hansson2005-07-241-2/+12
| | | | | | Oracle style #1798 [The Gang of Oracles] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ERb in the database.yml file (just like with fixtures), so you can ↵David Heinemeier Hansson2005-07-242-1/+3
| | | | | | pull out the database configuration in environment variables #1822 [Duane Johnson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added convenience controls for FCGI processes (especially when managed ↵David Heinemeier Hansson2005-07-246-5/+244
| | | | | | 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 load_fixtures task to the Rakefile, which will load all the fixtures ↵David Heinemeier Hansson2005-07-222-1/+12
| | | | | | into the database for the current environment #1791 [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an empty robots.txt to public/, so that web servers asking for it ↵David Heinemeier Hansson2005-07-224-1/+5
| | | | | | 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
* Add comment in config/environment.rb explaining $KCODE and UTF-8 #1726 [Leon ↵David Heinemeier Hansson2005-07-221-0/+6
| | | | | | Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dropped the 'immediate close-down' of FCGI processes since it didn't work ↵David Heinemeier Hansson2005-07-192-12/+7
| | | | | | consistently and produced bad responses when it didn't. So now a TERM ensures exit after the next request (just as if the process is handling a request when it receives the signal). This means that you'll have to 'nudge' all FCGI processes with a request in order to ensure that they have all reloaded. This can be done by something like ./script/process/repear --nudge 'http://www.myapp.com' --instances 10, which will load the myapp site 10 times (and thus hit all of the 10 FCGI processes once, enough to shut down). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reminder for dangers with Alias and mod_rewrite #1752 [dave@cherryville.org]David Heinemeier Hansson2005-07-171-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Regret inclusion for nowDavid Heinemeier Hansson2005-07-161-62/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de