module Polygallery::Validators::HelperMethods

Public Instance Methods

validates_polygallery_presence(*attr_names) click to toggle source
# File lib/polygallery/validators/polygallery_presence_validator.rb, line 24
def validates_polygallery_presence(*attr_names)
  options = _merge_attributes(attr_names)
  validates_with PolygalleryPresenceValidator, options.dup
end