A very quick post so that if you were ever to get this error, you'll know how to fix it up.

This occured at work today where we had upgraded Rails to 2.3.5 on one of our client sites and the contact form that had been written back in the day decided to blow up and throw this lovely error.

undefined method `human_name' for ContactUs:Class

This was occuring since the ContactUs model was not inheriting anything from Rails itself, it was a standalone class. A few quick Google's later and the solution was to put this into the model to replicate the methods that Rails was expecting...

I currently work at the Forward Internet Group and we are based in Camden Town in London. We are always exploring new technology to try and solve our problems and we are always on the look-out for talented people who want to learn & innovate. If you think you've got what it takes and you're up for the challenge, why not join us?