lib/alba/association.rb in alba-1.0.0 vs lib/alba/association.rb in alba-1.0.1
- old
+ new
@@ -23,14 +23,9 @@
else
raise ArgumentError, 'When Alba.inferring is false, either resource or block is required'
end
end
- # @abstract
- def to_hash
- :not_implemented
- end
-
private
def constantize(resource)
case resource # rubocop:disable Style/MissingElse
when Class