Re: [Rails] Text Output Display in Rails is OUT OF CONTROL!
On Fri, Feb 26, 2010 at 9:50 AM, jackster the jackle
<lists@ruby-forum.com> wrote:
> I have a shell command statement in my controller that runs a ruby
> script and puts this text output into my instance variable which I call
> in my view.
> View Code:
> <code>
> <%= @data %>
> </code>
So are you really using the CODE tag? Regardless,
> The problem is when @data has long strings of data, the don't wrap in my
> view so they go off page in the browser.
http://www.w3.org/TR/CSS21/text.html#propdef-white-space
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home