class Api::StateSerializer < ActiveModel::Serializer
  attributes :id, :name, :abbr
end
class Api::StateSerializer < ActiveModel::Serializer
  attributes :id, :name, :abbr

  def abbr
    object.abbr.upcase
  end
end
Make state abbreviations upper case
Make state abbreviations upper case
