Commit 0036bfb83aa1b832d117affa7397af1161d74538

Authored by Sergei Avanesov
Committed by Andrew Kane
1 parent b5b2a72f
Exists in master

Add rgeo adapter for mysql (#186)

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/groupdate/magic.rb
... ... @@ -28,7 +28,7 @@ module Groupdate
28 28 adapter_name = relation.connection.adapter_name
29 29 query =
30 30 case adapter_name
31   - when "MySQL", "Mysql2", "Mysql2Spatial"
  31 + when "MySQL", "Mysql2", "Mysql2Spatial", 'Mysql2Rgeo'
32 32 case period
33 33 when :day_of_week # Sunday = 0, Monday = 1, etc
34 34 # use CONCAT for consistent return type (String)
... ...