blob: 21f9e47cbea3be66fc4a3fc043dd24c9026f650f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# models/info_request.rb:
# A Freedom of Information request.
#
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
# $Id: info_request.rb,v 1.3 2007-09-10 01:16:35 francis Exp $
class InfoRequest < ActiveRecord::Base
belongs_to :user
belongs_to :public_body
# validates_presence_of :user
# validates_numericality_of :user
validates_presence_of :title
validates_presence_of :public_body_id
end
|