There didn't seem to be a question here but assume you want to know
how to select a column with a reserved word.
This issue has some examples
https://github.com/rails/rails/issues/2601 Looks like using a symbol
or double quoting it should work.
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks