Ruby on Rails Friday, July 30, 2010

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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment