I’d like to do something like this in my RoR code:
name = “james”
box = Box.find(1)
box_name = box.name
Where “james” is an existing column in table Box. I try to do this but
RoR tells me “undefined method `name’ for #Box:0x333a81c”. Is it
possible to get around this? Basically what I have is a list of strings
that I need to use as column commands.