Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Conversation

mibon
Copy link

@mibon mibon commented Aug 29, 2013

Hi

I added support of Proc values to numerical validators(gte, gt, lte, lt etc.)
Usage example
validates_numericliaty_of :some_val, gt: Proc.new { |s| s.another_value }
where s is a current resource

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant