What I would like to do is select a single column out of my model, say
the column is called my_column, and store the result in an array,
which it should be, right?
For example, if I do:
@my_arr = Model.find(:all, :select => “my_column”)
This should fill @my_arr with all the values from “my_column”, right?
So then I can access the data by some_other_variable = @my_arr, or
do I have to reference this as an object and do something like
some_other_variable = @my_arr.my_column?
Sorry, having a hard time getting this to work.
Thanks for your help!