Remove duplicated method `model`
Which quells the following warning: ``` warning: method redefined; discarding old model ```
This commit is contained in:
parent
43da214c92
commit
fbd4e42c19
|
@ -225,10 +225,6 @@ module Shoulda
|
|||
def active_resource_object?
|
||||
object.respond_to?(:known_attributes)
|
||||
end
|
||||
|
||||
def model
|
||||
object.class
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue