Peter X Fri Oct 07 17:36:29 -0400 2011

Subject: Column name issues

My problem is that I have a table with field names that have spaces, #, $ and other junk characters in them. It is currently not possible to "fix" the table as this will break numerous other applications and reports running of this table... If there's a way to have AR automatically map to these impossible names, this might be exactly what I need. Any insight is appreciated.


shawn pyle Tue Nov 08 10:37:12 -0500 2011

I'm guessing you looked at this but I I thought I'd post it anyways:
http://www.phpactiverecord.org/projects/main/wiki/Utilities#aliased-attributes

Not sure how it works with non-alpha characters in the name.

(1-1/1)