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

This is a safety method I'm...

55502f40dc8b7c769880b10874abc9d0 Talk
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...

F677fa685a2cfe8aff31f161062db3d3 Talk