Text Field and Escape Codes

1 view
Skip to first unread message

LarryTX

unread,
Mar 7, 2008, 12:56:19 PM3/7/08
to ActiveScaffold : Ruby on Rails plugin
When I save text data, on Create and Update, I end up with escape
codes in stored in the database. For instance, if I enter "Foo
Bar" (without the quotes), the field in the database ends up with "Foo
%20Bar". That's of course completely unacceptable. When I was using
RoR without the ActiveScaffold plugin, I never had that problem. Is
there any way to turn off that behavior in ActiveScaffold?

David C

unread,
Mar 7, 2008, 2:03:05 PM3/7/08
to ActiveScaffold : Ruby on Rails plugin
I had a similar problem several months ago that was caused by the
parent and child classes both having a 'name' column. The problem
occurred when using a partial override for the parent, but not when
using a helper override or by renaming the 'name' columns to something
else like 'parent_name' and 'child_name'. See if anything in the
following thread helps.

http://groups.google.com/group/activescaffold/browse_thread/thread/565915f4c2fca7f5/3156a3d9e93a7244
Reply all
Reply to author
Forward
0 new messages