app/models/school.rb in hackathon_manager-0.11.2 vs app/models/school.rb in hackathon_manager-0.12.0

- old
+ new

@@ -4,11 +4,10 @@ validates_uniqueness_of :name strip_attributes has_many :questionnaires - belongs_to :bus_list, optional: true def full_name out = "" out << name if full_location.present? @@ -22,14 +21,9 @@ out = "" out << city if city.present? out << ", " if city.present? && state.present? out << state if state.present? out - end - - def bus_list - return unless bus_list_id - BusList.find(bus_list_id) end def fips_code Fips.where(city: city, state: state).first end