app/models/stream.rb
Method build_measurements!
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_measurements!(data = [])
data = data.map(&:deep_symbolize_keys)
factory = RGeo::Geographic.spherical_factory(srid: 4326)
time_zone = time_zone(data)