aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added AbstractAdapter#select_value and AbstractAdapter#select_values as ↵David Heinemeier Hansson2005-09-244-10/+28
| | | | | | convenience methods for selecting single values, instead of hashes, of the first column in a SELECT #2283 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just include activerecord/schema with AR so it doesnt need to be dumpedDavid Heinemeier Hansson2005-09-243-8/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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
* Added native, faster implementations of .blank? for the core types #2286 [skae]David Heinemeier Hansson2005-09-242-0/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the sqlite adapter preserve not-null constraints and index names when ↵Jamis Buck2005-09-241-3/+12
| | | | | | altering tables git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow the postgresql adapter to work with the SchemaDumper.Jamis Buck2005-09-232-4/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Post the postgresql adapter (and hopefully other adapters) pass all testsJamis Buck2005-09-232-4/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sqlite adapter pass all testsJamis Buck2005-09-232-3/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2315 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
* Add ActiveRecord::SchemaDumper for dumping a DB schema to a pure-ruby file, ↵Jamis Buck2005-09-2311-25/+292
| | | | | | making it easier to consolidate large migration lists and port database schemas between databases. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2312 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 that auto_discovery_link_tag couldn't take a string as the URLDavid Heinemeier Hansson2005-09-223-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed clean logger to work with Ruby 1.8.3 Logger class #2245David Heinemeier Hansson2005-09-212-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed migrations for Windows when using more than 10 [David Naseby]David Heinemeier Hansson2005-09-212-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Asserts now need html/document so it should require itDavid Heinemeier Hansson2005-09-212-9/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the create_x method from belongs_to wouldn't save the association ↵David Heinemeier Hansson2005-09-203-2/+7
| | | | | | properly #2042 [Florian Weber] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed saving a record with two unsaved belongs_to associations pointing to ↵Jamis Buck2005-09-204-5/+59
| | | | | | the same object #2023 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Require 'pp' early to prevent the pretty-print methods being mixed in too ↵Jamis Buck2005-09-201-0/+1
| | | | | | late and messing up a test git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed memory leak with Active Record classes when Dependencies.mechanism = ↵David Heinemeier Hansson2005-09-204-55/+3
| | | | | | :load #1704 [c.r.mcgrath@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added small note about how longtext might be needed for large session dataDavid Heinemeier Hansson2005-09-202-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with send_file and WEBrick using stdout #1812David Heinemeier Hansson2005-09-203-15/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed memory leak with Active Record classes when Dependencies.mechanism = ↵David Heinemeier Hansson2005-09-201-0/+4
| | | | | | :load #1704 [c.r.mcgrath@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2273 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
* Optimized tag_options to not sort keys, which is no longer necessary when ↵David Heinemeier Hansson2005-09-2017-200/+248
| | | | | | assert_dom_equal and friend is available #1995 [skae]. Added assert_dom_equal and assert_dom_not_equal to compare tags generated by the helpers in an order-indifferent manner #1995 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Request#domain caused an exception if the domain header wasn't ↵David Heinemeier Hansson2005-09-203-1/+10
| | | | | | set in the original http request #1795 [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved migrations' behavior when the schema_info table is empty.Nicholas Seckar2005-09-202-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the truncate() helper multi-byte safe (assuming $KCODE has been set to ↵Jamis Buck2005-09-194-1/+60
| | | | | | something other than "NONE") #2103 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2265 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
* Fixed that Observers didn't observe sub-classes #627 [Florian Weber]David Heinemeier Hansson2005-09-193-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2263 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
* Fix eager loading error messages, allow :include to specify tables using ↵Nicholas Seckar2005-09-183-2/+15
| | | | | | strings or symbols. Closes #2222 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add routing tests from #1945Nicholas Seckar2005-09-182-2/+57
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a routing test case covering #2101Nicholas Seckar2005-09-182-1/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix #2197David Heinemeier Hansson2005-09-171-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add "#:nodoc:" for ActionController::Routing::PathComponent::Result #2209 ↵David Heinemeier Hansson2005-09-171-1/+1
| | | | | | [l.francke@gmx.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2254 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
* Make upload progress not throw JavaScript errors when there is no progress ↵David Heinemeier Hansson2005-09-162-141/+5
| | | | | | bar #2208 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2252 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-152-7/+3
| | | | | | 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-154-7/+24
| | | | | | 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
* Only attempt to require Active Support if it hasnt been already #1959David Heinemeier Hansson2005-09-152-15/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache relative_url_root for all webservers, not just Apache #2193 [skae]David Heinemeier Hansson2005-09-153-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Speed up cookie use by decreasing string copying #2194 [skae]David Heinemeier Hansson2005-09-152-7/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Included UrlRewriter tests in rake run and made them not depend on Hash orderDavid Heinemeier Hansson2005-09-151-5/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made base_tests.rb run as part of rakeDavid Heinemeier Hansson2005-09-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed access to "Host" header with requests made by crappy old HTTP/1.0 ↵David Heinemeier Hansson2005-09-142-1/+3
| | | | | | clients #2124 [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More auto-link fixes (to include query strings in autolinked text)Jamis Buck2005-09-142-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2241 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