Skip to content

Commit

Permalink
on second thought, lets keep casting on by default. it can be disable…
Browse files Browse the repository at this point in the history
…d in database.yml by setting 'cast: false'
  • Loading branch information
brianmario committed Jun 16, 2011
1 parent aeb7beb commit 7b04e50
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -629,7 +629,7 @@ def connect
end

def configure_connection
@connection.query_options.merge!(:as => :array, :cast => false)
@connection.query_options.merge!(:as => :array)

# By default, MySQL 'where id is null' selects the last inserted id.
# Turn this off. http://dev.rubyonrails.org/ticket/6778
Expand Down

0 comments on commit 7b04e50

Please sign in to comment.