File: policeman.rb

package info (click to toggle)
ruby-sequenced 3.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,884 kB
  • sloc: ruby: 696; makefile: 3
file content (5 lines) | stat: -rw-r--r-- 105 bytes parent folder | download | duplicates (3)
1
2
3
4
5
class Policeman < ActiveRecord::Base
  acts_as_sequenced

  validates :sequential_id, presence: true
end