no, that's how rails 3 render strings by default. It's supposed that
you use helpers for tags. However, you can allways use "raw":
def order_sub_contractor_show_column(record)
sub = record.sub_contractor
raw "#{sub.name}<br />#{sub.company}"
end
On Thu, Oct 13, 2011 at 10:44 AM, JB <[email protected]> wrote:
> I have a field override that looks like this:
>
>
> def order_sub_contractor_show_column(record)
> sub = record.sub_contractor
> "#{sub.name}<br />#{sub.company}"
> end
>
> In the output view, the break tab is escaped and I get something like:
>
> Joe Plumber<br />Joe's Plumbing
>
> Is this a bug, or am I missing something?
>
> --
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.