Declare callbacks explicitly
This commit is contained in:
parent
423f5ffbc2
commit
0dba53c023
5 changed files with 37 additions and 28 deletions
|
@ -6,10 +6,7 @@ module GeoRecord
|
|||
|
||||
def self.included(base)
|
||||
base.extend(ClassMethods)
|
||||
end
|
||||
|
||||
def before_save
|
||||
self.update_tile
|
||||
base.before_save :update_tile
|
||||
end
|
||||
|
||||
# Is this node within -90 >= latitude >= 90 and -180 >= longitude >= 180
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue