Single Table Inheritance
Closed this issue · 2 comments
glaucocustodio commented
Hi guys, if I have something like that:
class User < ActiveRecord::Base; end
class Customer < User; end
If I do have a UserDecorator
but dont have a CustomerDecorator
, shouldn't active_decorator
load UserDecorator
if my object is a User
instance with type="Customer"
?
Is it similar to drapergem/draper#468?
Thanks.