Method: ForestLiana::QueryHelper.get_one_association_names_string

Defined in:
app/helpers/forest_liana/query_helper.rb

.get_one_association_names_string(resource) ⇒ Object



12
13
14
# File 'app/helpers/forest_liana/query_helper.rb', line 12

def self.get_one_association_names_string(resource)
  self.get_one_associations(resource).map { |association| association.name.to_s }
end