On Dec 2, 2013, at 8:03 PM, yinwen Xuan <li...@ruby-forum.com> wrote:

> Then I extend your code to the follow, but not working :-(

How many "if"s? How many "end"s? See the problem?

Seriously, you need to work through a tutorial, as suggested earlier, rather 
than expect the members of this forum to write your code one statement at a 
time.

And when you take the time to work through a tutorial, you'll learn about 
"elsif" ;-)


-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/1B30A7D5-0703-4286-860A-332BFC2DF9A0%40elevated-dev.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to