Sha256: 630ba77224fb6a959afee4da0b08bf41595b0a58aaae6c0bfbb18d9a0f41fde0

Contents?: true

Size: 131 Bytes

Versions: 4

Compression:

Stored size: 131 Bytes

Contents

class Street < ActiveRecord::Base
  belongs_to :city
  attr_accessible :city_id, :name
  validates_presence_of :city_id, :name
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dynamic_controller-0.0.12 spec/dummy/app/models/street.rb
dynamic_controller-0.0.11 spec/dummy/app/models/street.rb
dynamic_controller-0.0.10 spec/dummy/app/models/street.rb
dynamic_controller-0.0.9 spec/dummy/app/models/street.rb