Validate list of items

Hi,
I am new to Ruby on Rails. I have to validate the number of items in a
text box separated by colon. No of items also get from the user. Is
there a way to do this using ruby active records. Thanks in advance.

Hi Shakya Bandara

Read this especially validates_length_of

http://guides.rubyonrails.org/activerecord_validations_callbacks.html

Sijo