def safeeval return true unless rules Timeout.timeout(2) do ...
Ruby Safe evaluation
by https://www.google.com/accounts/o8/id?id=AItOawnAUzCknWDqGzP8RQvXqnBZjVpCGwTjnQI,
May 03, 2012 23:56,
No refactoring, tagged with ruby, validation, datamapper, timeout, errors, safe, evaluation
def create
case params[:event][:kind]
when "appointment"
...
Ruby Custom validation (ajax/jav...
by ttdavett.myopenid.com,
April 21, 2009 22:00,
No refactoring, tagged with rails, ruby, validation, ajax, errors
I have a couple of concerns...
This is a safety method I'm...