Yes Hassan that's a big better solution than the JS one, you opened my mind, I appreciate it, thanks. Still I'm open to receive other suggestions of ways to do this, for the sake of learn.
-- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5453af24dcdc5dd44032dfe0e1f1bcbc%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

