Sha256: b5b4d5bc82053cc00fd5c0779f5fc33c9a994dbb2ae150cdee4ceb60d0d8109c
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module Essay module AssociationHelper def association_name @association_name end def association_traits model_traits.associations[association_name] end alias association association_traits alias this_association association end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
essay-1.0.2 | lib/essay/helpers/association_helper.rb |
essay-1.0.1 | lib/essay/helpers/association_helper.rb |