Sha256: a72003eea892d498b4ea571bb4132bc99e1530baded55be60afbd40ce4726d95
Contents?: true
Size: 179 Bytes
Versions: 4
Compression:
Stored size: 179 Bytes
Contents
class City < ActiveRecord::Base belongs_to :country has_many :streets, dependent: :destroy attr_accessible :country_id, :name validates_presence_of :country_id, :name end
Version data entries
4 entries across 4 versions & 1 rubygems