vegantech/sims

View on GitHub
app/models/time_length.rb

Summary

Maintainability
A
0 mins
Test Coverage
# == Schema Information
# Schema version: 20101101011500
#
# Table name: time_lengths
#
#  id         :integer(4)      not null, primary key
#  title      :string(255)
#  days       :integer(4)
#  created_at :datetime
#  updated_at :datetime
#

class TimeLength < ActiveRecord::Base
  def self.all_cache
    order("days")
  end
end