How do I amend the form helper:
<%= select("lead", "associate_id", Associate.all.collect {|p|
[ p.to_s, p.id ] }, {:include_blank => ''}) %>
(which is magnificently SIMPLE, and I don't want to convolute it here,
which is why I am asking the experts on this list...)
To NOT display records where Associate.deleted != 0 ?
Additionally, how would I amend it if I have and Associate.id that I
want to be selected in it? Thanks guys.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---