# Legacy column names

**URL:** <https://www.ruby-forum.com/t/legacy-column-names/87933>\
**Category:** Rails\
**Created:** [March 27, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/legacy-column-names/87933 "2006-03-27T21:42:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/a587f6/32.png) [@kuma](https://www.ruby-forum.com/u/kuma)\
**Post date:** [March 27, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/legacy-column-names/87933/1 "2006-03-27T21:42:23Z")

</div>

I’m currently working with ms sql server against a pretty old database.  
Some  
of the column names work fine, but others have spaces in the name or  
other  
characters. (part #, warranty exp. date)

I can’t access those methods for obvious reasons. Does anyone know how I  
would go about making those available to the validations and form  
helpers?

Perhaps I have to change the mappings of the attributes hash to the  
database… but I have no clue where to start. Help would be appreciated  
and  
I’ll make a patch or plugin out of this.
