jashmenn/activeuuid — pull request #51 by donbobka (2014-10-17 20:33:19+00:00)
Title: Fix PostgreSQL array type casting(ArgumentError: wrong number of arguments (3 for 1..2))

Hi, I've just faced up with exception when saving model containing array field even without uuid.

```ruby
# Table name: users
#
# id :integer not null, primary key
# name :string
# some_array :integer is an Array

u = User.first
u.some_array = [1,2,3]
u.save
ArgumentError: wrong number of arguments (3 for 1..2)
from /Users/donbobka/projects/streetbee/streetbee/.bundle/gems/activeuuid-0.5.0/lib/activeuuid/patches.rb:95:in `type_cast_with_visiting'
```

P.S.: Rails 4.1.6
P.P.S.: don't know about similar method `quote_with_visiting`