…paces_between_schemas Fix postgres adapter to handle spaces between schemas
… mysql/mysql2 (fix #3440)
When the search path has multiple schemas, spaces were not being stripped from the schema names after the first.
…G.md (cherry picked from commit 1679aa5)
(cherry picked from commit 64d9773)
Reasons: * Markdown reads well as plain text, but can also be formatted. * It will make it easier for people to read on the web as Github formats the Markdown nicely. * It will encourage a level of consistency when people are writing CHANGELOG entries. The script used to perform the conversion is at https://gist.github.com/1339263
Pull request #3503
Building the conditions of a nested through association could potentially modify the conditions of the through and/or source association. This is a Bad Thing. Conflicts: activerecord/test/cases/reflection_test.rb
If a record is removed from a has_many :through, all of the join records relating to that record should also be removed from the through association's target. (Previously the records were removed in the database, but only one was removed from the in-memory target array.)
Fixes creating records in a through association with a polymorphic source type. Conflicts: activerecord/CHANGELOG
… the prepared statement cache
Yes, we're on Rails 3.1 now.
Postgres: Do not attempt to deallocate a statement if the connection is no longer active.
…n name 'Type' is a reserved column for STI. Changed conditions example to avoid using that column name as an example. The example isn't STI-related (and mentioning STI here is needless clutter), so changing to avoid accidentally encouraging users to use 'type' as a column name for other purposes.
…is no longer active.
QueryCache/ConnectionPool thread fix (was #1670)
…ure task. Leaving the path unquoted causes errors in paths containing spaces or dashes.
An association between two models cannot be made if a relevant key is unknown, so fail fast rather than generating invalid SQL. Fixes #3207.
…fig, as running :load_config alone will lead to the dumper being run without including extensions such as those included in foreigner and spatial_adapter. This reverses a change made here: 5df72a2#L0L324 I'm assuming here that :load_config needs to be invoked separately from :environment, as it is elsewhere in the file for db operations, if not the alternative is to go back to "task :dump => :environment do".