has_many :resource_pictures
validates :license_group_id, :presence => true, :numericality => true, :existence => {:both => false}
- validates :license_group_classname, :presence => true, :length => {:maximum => 50}
+ validates :license_group_module_name, :presence => true, :length => {:maximum => 50}
validates :name, :presence => true, :length => {:maximum => 50}
validates :caption, :presence => true, :length => {:maximum => 30}
validates :url, :presence => true, :length => {:maximum => 200}, :uniqueness => {:scope => :name}, :url => {:message => I18n.t('errors.messages.url')} #{:allow_blank => true}