Marnen Laibow-Koser wrote: > [Please quote when replying. It makes the discussion easier to follow.] > > winter heat wrote: >> let's assume class1, 2, and 3, etc all have their functions, so we need >> all of them. > > But do you need them nested, or can they be on the same element?
yes, they need to be nested, which is why it is a problem with the "if" in the first place. -- 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.

