aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Added prevention of duplicate migrations from the generator #2240 ↵David Heinemeier Hansson2005-09-242-0/+4
| | | | | | [fbeausoleil@ftml.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add db_schema_dump and db_schema_import rake tasks to work with the new ↵Jamis Buck2005-09-232-1/+17
| | | | | | ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only configure settings for loaded frameworksDavid Heinemeier Hansson2005-09-221-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed memory leak with Active Record classes when Dependencies.mechanism = ↵David Heinemeier Hansson2005-09-201-0/+1
| | | | | | :load #1704 [c.r.mcgrath@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include suggestion for using different socket #1951 [NVRS]David Heinemeier Hansson2005-09-201-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the reaper slightly more robust in the nudging departmentDavid Heinemeier Hansson2005-09-191-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include ActionView as a configurable frameworkDavid Heinemeier Hansson2005-09-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include libs/ in rake stats #2223 [Marcel Molina]David Heinemeier Hansson2005-09-191-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2260 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
* Don't set the :MimeTypes option if it is nil (causes routing errors on ↵Jamis Buck2005-09-151-5/+6
| | | | | | stylesheets and javascripts, somehow) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cant use silence_warnings before active support is loadedDavid Heinemeier Hansson2005-09-152-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the ↵David Heinemeier Hansson2005-09-151-6/+2
| | | | | | connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the ↵David Heinemeier Hansson2005-09-152-0/+14
| | | | | | connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved session and fragment options outDavid Heinemeier Hansson2005-09-131-6/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only include dirs that exists in the statsDavid Heinemeier Hansson2005-09-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reformed all the config/environments/* files to conform to the new ↵David Heinemeier Hansson2005-09-131-0/+2
| | | | | | Rails::Configuration approach. Fully backwards compatible. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make it easy to go UTCDavid Heinemeier Hansson2005-09-131-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reformed environments files to the new config styleDavid Heinemeier Hansson2005-09-134-21/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Control depedency mechanism, breakpoints, and whiny nils through the configDavid Heinemeier Hansson2005-09-131-50/+93
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed pointer to tasks location #2175David Heinemeier Hansson2005-09-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make it even easier to set a new session store and use symbols for log level tooDavid Heinemeier Hansson2005-09-122-6/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Rails::Configuration support for fragment storesDavid Heinemeier Hansson2005-09-122-2/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use session_id instead of deprecated sessidDavid Heinemeier Hansson2005-09-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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