What are you trying to validate? That the tag_list doesn't contain
elements longer than 2 charaters?
I reckon you'd have to do the validation manually then
private
def validate
#Do some checks on self.tag_list and if it fails:
errors.add(:tag_list, 'cannot contain elements longer than 2
cha
On Feb 17, 11:16 am, Web Developer wrote:
> Any solution to this
> I am stuck :-(
Well if acts_as_taggable behaves as Lasse says then sounds like you
need to write a custom validation method that checks the various cases
that can occur. Something like
validates :tags_long_enough
def tags_
Any solution to this
I am stuck :-(
--
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, se
Yes, i am using acts_as_taggable plugin. But then what could be the
solution for this?
--
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 rubyonrails-t...@googl
4 matches
Mail list logo