aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index 86b89c6c1c..354df9a42e 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -475,9 +475,6 @@ module ActiveRecord
# Numeric values
return value if value =~ /^-?[0-9]+(\.[0-9]*)?/
- # Date / Time magic values
- return Time.now.to_s if value =~ /^now\(\)|^\('now'::text\)::(date|timestamp)/i
-
# Fixed dates / times
return $1 if value =~ /^'(.+)'::(date|timestamp)/