On Oct 10, 2:26 pm, Zack Nathan <[email protected]> wrote:
> respond_to do |wants|
> wants.html
> {
> @graph = open_flash_chart_object(600, 300, url_for(:action =>
> 'index', :format => :json))
> }
>
Because of the linebreak ruby things you are calling wants.html with
no block or arguments and thinks that the block you have put on the
next line is a hash literal
Fred
--
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.