Sha256: fac08523e80976532aea73ab03c3d1f3fb7512f5809386f34d2012207be6f296

Contents?: true

Size: 136 Bytes

Versions: 7

Compression:

Stored size: 136 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dynamic_controller-0.0.8 spec/dummy/app/models/street.rb
dynamic_controller-0.0.7 spec/dummy/app/models/street.rb
dynamic_controller-0.0.6 spec/dummy/app/models/street.rb
dynamic_controller-0.0.5 spec/dummy/app/models/street.rb
dynamic_controller-0.0.4 spec/dummy/app/models/street.rb
dynamic_controller-0.0.3 spec/dummy/app/models/street.rb
dynamic_controller-0.0.2 spec/dummy/app/models/street.rb