The change you wanted was rejected. (422)


#1

Hi everybody,
I am having a problem with my RoR app. My application works fine whenever I do any select to my db tables, but I noticed that whenever I do a write on the database I am having this error:

The change you wanted was rejected. (422)

Anybody knows what might be the problem? It seems that I don’t have the permission to commit a write/change on mysql database.

Thanks!!


#2

I’m not a RoR guy, at all, but you might find something relevant here (depending upon the query you are generating):

…just a thought

–rlparker
–DreamHost Tech Support


#3

Ok, it was a coincidence that whenever I was writing to the DB, I had something else in my code that was throwing an exception. So it wasn’t a DB writing error as I suspected.
But thanks for the quick reply.