camdub/Internships

View on GitHub
app/models/college.rb

Summary

Maintainability
A
0 mins
Test Coverage
class College < ActiveRecord::Base
  has_many :departments
  
  validates_presence_of :name
end

# == Schema Information
#
# Table name: colleges
#
#  id         :integer         not null, primary key
#  name       :string(255)
#  created_at :datetime
#  updated_at :datetime
#