Sha256: 7fc9c2380f29372dadb7b7eecd7ea0c485d34ae2ad3e63ca7e6ddc32272fbe25

Contents?: true

Size: 121 Bytes

Versions: 58

Compression:

Stored size: 121 Bytes

Contents

class City < ActiveRecord::Base
  belongs_to :state

  def show_name
    "#{self.name}, #{self.state.acronym}"
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
catarse_pagarme-2.14.1 spec/dummy/app/models/city.rb
catarse_pagarme-2.14.0 spec/dummy/app/models/city.rb
catarse_pagarme-2.13.0 spec/dummy/app/models/city.rb
catarse_pagarme-2.12.0 spec/dummy/app/models/city.rb
catarse_pagarme-2.11.0 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.15 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.14 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.13 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.12 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.11 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.10 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.9 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.8 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.7 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.6 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.5 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.4 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.2 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.1 spec/dummy/app/models/city.rb
catarse_pagarme-2.10.0 spec/dummy/app/models/city.rb