> Rails just sticks the first part of each of those arrays in the option
> description. If p.name isn't what you want, then just put something
> else there.
> Fred
The thing is that sometime, description is empty so I can't just put
p.description
but I would like p.name (p.description)
I don't think you understood me - you can put any bit of ruby you want
there, as long as it evaluates to a string (or something that looks
like it).
For example "#{p.name} - #{p.description}"