I'd recommend render_to_string :inline for this case.

Yehuda Katz
Architect | Engine Yard
(ph) 718.877.1325


On Thu, May 13, 2010 at 2:31 PM, Ryan Bigg <[email protected]> wrote:

>
> On 14 May 2010 07:22, Michael Koziarski <[email protected]> wrote:
>
>> But I'd question what you're trying to do here, why are your controllers
>> generating html without using views?
>>
>
> A "sometimes" use-case is putting a link using link_to in the flash.
>
> --
> Ryan Bigg / Radar
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-core%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to