aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure any Fixnum returned by a DB sum is type cast to a Float before ↵Ken Collins2008-11-132-1/+6
| | | | | | standard converstion to a BigDecimal [#8994 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge branch 'master' of git@github.com:rails/railsgbuesing2008-11-135-61/+92
|\
| * Instead of overriding html_types, base the verification on ↵Michael Koziarski2008-11-132-7/+20
| | | | | | | | | | | | | | | | browser_generated_types. Also Deprecate the old unverifiable types. [#1145 state:committed]
| * fix two MimeType failing test casesrick2008-11-132-7/+10
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Changed request forgery protection to only worry about HTML-formatted ↵Jeff Cohen2008-11-134-55/+70
| | | | | | | | | | | | content requests. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* | TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone ↵gbuesing2008-11-133-3/+5
|/ | | | offsets to more current date
* TimeZone: Caracas GMT offset changed to -4:30 [#1361 state:resolved]Phil Ross2008-11-122-1/+4
|
* Add :only/:except options to map.resourcesTom Stuart2008-11-122-37/+247
| | | | | | | This allows people with huge numbers of resource routes to cut down on the memory consumption caused by the generated code. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1215 state:committed]
* Fixed method_missing for ActionMailer so it no longer matches methods where ↵Joel Chippindale2008-11-112-1/+6
| | | | | | deliver or create are not a suffix [#1318 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix for ActionMailer::Base.method_missing so that it raises NoMethodError ↵Joel Chippindale2008-11-112-6/+16
| | | | | | when no method is found [#1330 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove redundant uniqFrederick Cheung2008-11-111-1/+1
|
* Only track new constant definitions when we're reloading dependenciesJeremy Kemper2008-11-102-7/+15
|
* Eliminate excess Regexp creation due to capture countingJeremy Kemper2008-11-102-4/+26
|
* Pare down object creation during route buildingJeremy Kemper2008-11-102-30/+27
|
* Add simple case when DB calculations returns 0 instead of 0.0 [#1346 ↵Joshua Peek2008-11-101-1/+1
| | | | state:resolved]
* Move sshpublisher require into the rake tasks that use it so ruby 1.9 and ↵Jeremy Kemper2008-11-081-1/+2
| | | | macruby don't need the rake gem installed
* Add some basic controller logging testsPratik Naik2008-11-081-0/+46
|
* Timeout the connection pool monitor on ruby 1.8 onlyJeremy Kemper2008-11-082-7/+18
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-071-1/+1
|\
| * If average value from DB is 0, make sure to convert it to a 0.0 float before ↵Ken Collins2008-11-071-1/+1
| | | | | | | | | | | | calling #to_d on it [#1346 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Work around ruby 1.9 segfaultJeremy Kemper2008-11-071-0/+1
| |
* | Don't worry about attribute orderingJeremy Kemper2008-11-071-1/+2
| |
* | Check whether last arg is a Hash instead of duck-typing against []Jeremy Kemper2008-11-071-4/+9
| |
* | Use delete if the rhs is nilJeremy Kemper2008-11-071-1/+5
|/
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-079-20/+33
|\
| * Don't leave open dangling connections in development mode. [#1335 ↵Pratik Naik2008-11-081-2/+1
| | | | | | | | state:resolved]
| * Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. ↵Nick Sieger2008-11-082-5/+1
| | | | | | | | | | | | [Nick Sieger, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * auto_link view helper was failing on URLs with colons after a query paramRich Manalang2008-11-072-2/+3
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1341 state:committed]
| * Added tests for HABTM associations with counter_sqlTekin Suleyman2008-11-071-0/+23
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1102 state:committed]
| * Added :counter_sql as a valid key for habtm associationsTekin Suleyman2008-11-071-1/+1
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Revert commit which breaks all the tests.Michael Koziarski2008-11-072-10/+4
| | | | | | | | | | | | | | | | This reverts commit 8adb79b9b5983cda8dbdd4ef401661fbd51d8844. Conflicts: activerecord/CHANGELOG
* | Don't shadow local with black argJeremy Kemper2008-11-071-4/+4
| |
* | Fix indentation mismatchJeremy Kemper2008-11-071-1/+1
| |
* | Mark utf-8 encodingJeremy Kemper2008-11-071-0/+1
|/
* Fix memory leak issue in ActiveRecord scoped_methodsJoshua Peek2008-11-061-2/+1
|
* Increment the version of our modified memcache_client code to prevent users ↵Luca Guidi2008-11-063-5/+11
| | | | | | | | with the gem installed not seeing our changes. The changes will be submitted upstream. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1239 state:committed]
* Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised ↵Aliaksey Kandratsenka2008-11-061-1/+1
| | | | | | | | | recognition code. It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays. [#1319 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix stupid typoMichael Koziarski2008-11-061-1/+1
|
* Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and ↵Grant Hollingworth2008-11-064-4/+29
| | | | | | the SMTP server supports it [#1336 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fixed the sanitize helper to avoid double escaping already properly escaped ↵David Heinemeier Hansson2008-11-060-0/+0
|\ | | | | | | entities [#683 state:committed]
| * Stop logging SHOW FIELDS and SET SQL_AUTO_IS_NULL=0 for the MysqlAdapter as ↵David Heinemeier Hansson2008-11-062-4/+10
| | | | | | | | they only clutter up the log and offer no value [DHH]
* | Fixed the sanitize helper to avoid double escaping already properly escaped ↵David Heinemeier Hansson2008-11-064-2/+8
| | | | | | | | entities [#683 state:committed]
* | Stop logging SHOW FIELDS and SET SQL_AUTO_IS_NULL=0 for the MysqlAdapter as ↵David Heinemeier Hansson2008-11-062-4/+10
|/ | | | they only clutter up the log and offer no value [DHH]
* Dont bother logging the parameters hash if there are no parametersDavid Heinemeier Hansson2008-11-061-1/+1
|
* Make sure ActiveRecord::Base.connected? doesn't raise an exception for ↵Pratik Naik2008-11-062-1/+7
| | | | defined connections
* Update guides from docrailsPratik Naik2008-11-0639-368/+1476
|
* Ensure ActiveRecord::ConnectionPool.connected? handles undefined ↵Wes Oldenbeuving2008-11-062-1/+9
| | | | | | connections. [#936 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵Vladimir Dobriakov2008-11-043-5/+46
| | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix regression bug that made date_select and datetime_select raise a Null ↵Bernardo de Pádua2008-11-043-2/+44
| | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-0437-47375/+1167
|\