2010/12/2 Leonel *.* <[email protected]>

> Thanks :) I just removed the XML part and yes I did notice I had the
> flash in the wrong position haha.
>
> What do you mean by  "I am not sure if you "really" want to conditional
> processing of HTTP"?
>

The sentence may not be clear somehow. I realize that the other bit was a
semantic issue. :-) But you have already answered this part by removing the
xml section. Then, I'm sure your code contains no *respond_to* block. It
looks very clean that way (unless you want your app to respond conditionally
to HTTP requests send to it. (Oh my! this comes up again) Conditional
processing happens in the respond_to block. In other words, you would want
your application to do something when it is xml, another thing when it is an
HTML, and the other thing when it is a PDF: Thus processing conditonally the
page depending on the "page formats".


> I'm sorry if the question seems very basic, I'm barely getting familiar
> with Ruby.
>
>
---
Edmond
Software Developer | Baobab Health Trust (http://www.baobabhealth.org/) |
Malawi

Cell:  +265 999 465 137 | +265 881 234 717

*"Leading the Improvement of Health through Information and Communication
Technology in the Developing World" The **Creed* of *Baobab Health
*

-- 
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.

Reply via email to