respect the convention
This commit is contained in:
parent
7924eee16b
commit
dfc456ea49
@ -756,41 +756,41 @@ snippet mapwo
|
||||
|
||||
# before callback
|
||||
snippet cbv
|
||||
before_validation :${0:method}
|
||||
before_validation :${0:method}
|
||||
snippet cbc
|
||||
before_create :${0:method}
|
||||
before_create :${0:method}
|
||||
snippet cbu
|
||||
before_update :${0:method}
|
||||
before_update :${0:method}
|
||||
snippet cbs
|
||||
before_save :${0:method}
|
||||
snippet cbd
|
||||
before_destroy :${0:method}
|
||||
before_destroy :${0:method}
|
||||
|
||||
# after callback
|
||||
snippet cav
|
||||
after_validation :${0:method}
|
||||
after_validation :${0:method}
|
||||
snippet caf
|
||||
after_find :${0:method}
|
||||
after_find :${0:method}
|
||||
snippet cat
|
||||
after_touch :${0:method}
|
||||
after_touch :${0:method}
|
||||
snippet cac
|
||||
after_create :${0:method}
|
||||
after_create :${0:method}
|
||||
snippet cau
|
||||
after_update :${0:method}
|
||||
after_update :${0:method}
|
||||
snippet cas
|
||||
after_save :${0:method}
|
||||
after_save :${0:method}
|
||||
snippet cad
|
||||
after_destroy :${0:method}
|
||||
after_destroy :${0:method}
|
||||
|
||||
# around callback
|
||||
snippet crc
|
||||
around_create :${0:method}
|
||||
around_create :${0:method}
|
||||
snippet cru
|
||||
around_update :${0:method}
|
||||
around_update :${0:method}
|
||||
snippet crs
|
||||
around_save :${0:method}
|
||||
around_save :${0:method}
|
||||
snippet crd
|
||||
around_destroy :${0:method}
|
||||
around_destroy :${0:method}
|
||||
|
||||
snippet mcht
|
||||
change_table :${1:table_name} do |t|
|
||||
|
Loading…
Reference in New Issue
Block a user