Sha256: 3b1e321e2a76deeecefb29c88f020b64a86903969e86201ffce70e7981d5947b

Contents?: true

Size: 728 Bytes

Versions: 9

Compression:

Stored size: 728 Bytes

Contents

#    This file is part of Branston.
#
#    Branston is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as published by
#    the Free Software Foundation.
#
#    Branston is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.
#
#    You should have received a copy of the GNU Affero General Public License
#    along with Branston.  If not, see <http://www.gnu.org/licenses/>.

class UserRole < ActiveRecord::Base

  validates_presence_of :name
  belongs_to :story

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
branston-0.6.1 lib/branston/app/models/user_role.rb
branston-0.6.0 lib/branston/app/models/user_role.rb
branston-0.5.2 lib/branston/app/models/user_role.rb
branston-0.5.1 lib/branston/app/models/user_role.rb
branston-0.5.0 lib/branston/app/models/user_role.rb
branston-0.4.6 lib/branston/app/models/user_role.rb
branston-0.4.5 lib/branston/app/models/user_role.rb
branston-0.4.4 lib/branston/app/models/user_role.rb
branston-0.4.3 lib/branston/app/models/user_role.rb