diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-02-21 11:58:33 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-02-24 14:36:18 -0300 |
commit | e54acf1308e2e4df047bf90798208e03e1370098 (patch) | |
tree | 0b00fefb230cfc5ba64ec10c5f19cb47620ba159 /activerecord/CHANGELOG.md | |
parent | 5fc3b87c93edf770ea0d6b52a28ea225183dbfd7 (diff) | |
download | rails-e54acf1308e2e4df047bf90798208e03e1370098.tar.gz rails-e54acf1308e2e4df047bf90798208e03e1370098.tar.bz2 rails-e54acf1308e2e4df047bf90798208e03e1370098.zip |
Do not type cast all the database url values.
We should only type cast when we need to use.
Related to 4b005fb371c2e7af80df7da63be94509b1db038c
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 8e51fdf199..39bbcb795f 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -151,8 +151,8 @@ *Justin George* -* The `DATABASE_URL` environment variable now converts ints, floats, and - the strings true and false to Ruby types. For example, SQLite requires +* The database adpters now converts the options passed thought `DATABASE_URL` + environment variable to the proper Ruby types before using. For example, SQLite requires that the timeout value is an integer, and PostgreSQL requires that the prepared_statements option is a boolean. These now work as expected: @@ -161,7 +161,7 @@ DATABASE_URL=sqlite3://localhost/test_db?timeout=500 DATABASE_URL=postgresql://localhost/test_db?prepared_statements=false - *Aaron Stone* + *Aaron Stone + Rafael Mendonça França* * `Relation#merge` now only overwrites where values on the LHS of the merge. Consider: |