Adjust code for rails internal changes
This commit is contained in:
parent
46cd08b1c8
commit
a6b5f2f56d
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue