On 9 February 2011 08:27, Frederick Cheung <frederick.che...@gmail.com> wrote:
>
>    rescue ActiveRecord::RecordInvalid
>
> More odd looking code, or did the syntax for rescue change
> dramatically with Rails 2 from Rails 1
>
> That's just standard ruby.

I thought you had to have
begin
...
rescue
...
end

Colin

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

Reply via email to