On Fri, Nov 18, 2011 at 5:23 AM, pololo pololo <ulybkii / gmail.com> wrote:

> =A0 =A0 49 =A0def load_data
> =A0 =A0 50 =A0 =A0 check =3D Check.find_by_id(params[:id])
> =A0 =A0 51 =A0 =A0 redirect_to :controller =3D> 'checks', :action=3D>'lis=
t' and
> return if !check

I don't see anything writing to the DB there; maybe you should post
the entire stack trace of the error.

--=20
Hassan Schroeder ------------------------ hassan.schroeder / gmail.com
http://about.me/hassanschroeder
twitter: @hassan