module SvelteOnRails::ActiveRecordRelationExtensions

def to_svelte(*attributes)

def to_svelte(*attributes)
  @to_svelte ||= begin
                           cl = SvelteOnRails::Lib::SvelteAttributes
                           cl.new.calculate_relation(self, attributes)
                         end
end