mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
adddresses ruby 1.9/1.8 compat issue in PostgreSQLAdapter. Closes gh-14
This commit is contained in:
parent
de440ecdf0
commit
04ba63bfee
2 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ of the hours and effort he put into making this feature request a reality.
|
|||
|
||||
=== Bugfixes
|
||||
* Updates the DataMapper truncation strategy to version 0.10.3. (Robert Rouse)
|
||||
* Addresses Ruby 1.9 and 1.8 differences causing a bug in the AR PostgreSQLAdapter truncation strategy. (GH-14, James B. Byrne)
|
||||
|
||||
== 0.5.2
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ module ActiveRecord
|
|||
@db_version ||= connection.select_values(
|
||||
"SELECT CHARACTER_VALUE
|
||||
FROM INFORMATION_SCHEMA.SQL_IMPLEMENTATION_INFO
|
||||
WHERE IMPLEMENTATION_INFO_NAME = 'DBMS VERSION' ").to_s
|
||||
WHERE IMPLEMENTATION_INFO_NAME = 'DBMS VERSION' ").join.to_s
|
||||
end
|
||||
|
||||
def self.cascade
|
||||
|
|
Loading…
Reference in a new issue