Make Note methods saner
This commit is contained in:
parent
db3d90cbcb
commit
b1461de993
7 changed files with 39 additions and 18 deletions
|
@ -36,4 +36,12 @@ module StaticModel
|
|||
def destroyed?
|
||||
false
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
if other.is_a? StaticModel
|
||||
id == other.id
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue