find bug on sinatra-activerecord