Check out the docs for ruby Array.  You will find a function array.include?
there.

2009/5/11 Venkat Eee <[email protected]>

>
> Hello,
>
> I need a function "to check a value exists or  not  in array" in RoR
>
> Please help....
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

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