Sha256: 81cd5d5c380c9c6b68cde52270caf1e4a58795ad580361181b5edededfa5408f
Contents?: true
Size: 311 Bytes
Versions: 4
Compression:
Stored size: 311 Bytes
Contents
module Enlightenment module Validations module CallbackValidator extend ActiveSupport::Concern module ClassMethods def callback_validator(params = {}) { :remote => "/validations?model=#{params[:model].to_s}&field=#{params[:field]}" } end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems