aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/movie.rb
blob: 0302abad1ebafaf8bed805b00487cafdc95be9f9 (plain) (blame)
1
2
3
4
5
class Movie < ActiveRecord::Base
  self.primary_key = "movieid"

  validates_presence_of :name
end