class Traits::AttributeList

Public Instance Methods

primary_key() click to toggle source
# File lib/traits/list.rb, line 59
def primary_key
  first_where(primary_key?: true)
end