3 ms·
I was doing Model.find_by_something(params[:value]) if you format params[:value] a certain way, you can get a column other than 'something' selected.
by joevandyk 12y ago
I was doing
Model.find_by_something(params[:value])
if you format params[:value] a certain way, you can get a column other than 'something' selected.