Permalink
Browse files

r3055@asus: jeremy | 2005-11-13 14:48:48 -0800

 Apply [3009] to stable:  Reapply [2942] which was elided by [2997].  References #2788.


git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent af0ad4d commit 971b40f59f06787501eb3ac176571df3127310df @jeremy jeremy committed Nov 13, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/oci_adapter.rb
@@ -338,7 +338,7 @@ def columns(table_name, name = nil) #:nodoc:
end
select_all(table_cols).map do |row|
- row['data_default'].gsub!(/^'(.*)'$/, '\1') if row['data_default']
+ row['data_default'].gsub!(/^'(.*)'\s*$/, '\1') if row['data_default']
OCIColumn.new(
oci_downcase(row['column_name']),
row['data_default'],

0 comments on commit 971b40f

Please sign in to comment.