#ライセンスグループ
class LicenseGroup < Peta::Template
load_manifest
+ has_many :resource_pictures
has_many :licenses
validates :name, :presence => true, :length => {:maximum => 50}, :uniqueness => true
- validates :classname, :presence => true, :length => {:maximum => 50}
+ validates :module_name, :presence => true, :length => {:maximum => 50}
validates :caption, :presence => true, :length => {:maximum => 30}
validates :url, :presence => true, :length => {:maximum => 200}, :url => {:message => I18n.t('errors.messages.url')}