How do you access numbered column names in ActiveRecord?


I’m wondering how I am suppose to use a numbered column name in
ActiveRecord. I have a table with columns labeled 1- 12. doing the
normal :columName approach doesn’t work.

I’ve tried :1 and tablename.1. No joy.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs