On Nov 4, 8:45 am, Sijo Kg <[EMAIL PROTECTED]> wrote:
> Hi
> Thanks for your reply. But I did not understand what you mean by
> superfluous end...But the problem solved when I use begin end for the
> whole action instead of else part only..So still dont know why Syntax
> error at first
>
because the correct syntax is
begin
...
rescue
...
end
(you could have multiple rescue clauses etc)
not
begin
...
end
rescue
...
end
Fred
> Sijo
> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---