Rails 3 Giving and error after saving models into mysql database?

Your problem is caused by using the reserved word 'hash' in your model. Though I often have difficulty remembering this, a simple rule is to never name columns after any of Ruby's reserved words.

Your problem is caused by using the reserved word 'hash' in your model. Though I often have difficulty remembering this, a simple rule is to never name columns after any of Ruby's reserved words. If you are using an MD5 hash, or something for your photos, you should rename the column 'hash' to 'md_hash'.

It seems like the ID field is your only integer and it may not be getting returned correctly on create.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions