Can I render a text string as part in Rails 3?

I store client-specific partial data on S3. When I return the value of the S3 object, it is displayed as text. How can I display it so that it appears in my main layout?

+3
source share
1 answer

Looks like I just need:

render :text => myTextFromS3, :layout => true

And it works!

+13
source

All Articles