Adjust code for rails internal changes

This commit is contained in:
Tom Hughes 2023-10-06 22:18:30 +01:00
parent 46cd08b1c8
commit a6b5f2f56d
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ module GeoRecord
format("%<coord>.7f", :coord => self)
end
def as_json(_)
def as_json(*)
format("%<coord>.7f", :coord => self).to_f
end
end