Looks like this method doesn\'t work anymore in rails 3.1. So, does someone have a working solution?
Actually, I\'ve found this gist. It solves problems with colum
colum
You should create your own model class and mix in the parts of ActiveModel (for example, validations) that you require. This blog post from Yehuda Katz has the details.