Hello Everybody,
I am have an advance search form in which i have a field called :name
in which user can enter 1 or multiple words.
When there is more than 1 word, i am splitting that string and
collecting it in to an array.

@collect = Array.new
@collect << name.split( )

this gives me an array ["John", "whatever", "anyother"]
how can i find each item in the array in my rails app?

help appreciated.

Thanks in Advance
- S

-- 
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.

Reply via email to