IIRC, I had a similar issue and it wasn't really that AS was changing
the format of the fields (in my case) but rather the CSS that AS sets
up by default for fields that was doing so. If I were you, I'd check
that out and see if that did the trick. Unfortunately it has been a
while since I used AS, so I'm afraid I can't be more help than that.

On Apr 9, 11:07 am, Soren Christensen <[email protected]> wrote:
> Hi,
>
> I have an AS based controller. In some of the Text fields in the
> controller I have YAML formatted strings holding the selection values
> from some checkboxes. The YAML is generated from a Formtastic based
> frontend.
> The fields are not based on an a AR association so AS does not
> 'understand' what is in the fields.
>
> If I edit the record and edit a NON-YAML field AS will destroy the \n
> characters on the YAML data and thereby render it useless. The standard
> YAML parser will fail to read it in if if does not contain the \n.
>
> AS should never alter the format of the YAML fields!
>
> Is there a way I can prevent AS from destroying the format of those fields.
>
> /S

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

Reply via email to