I've been bashing my head against a wall with rails web services. Unfortunately I have a legacy database stored in SQL server with mixed case column names. If I try to use a model in my web service as an expected value the resulting object has the first letter of each attribute set to lower case Interestingly it doesn't do this to model classed returned by a web service method.
I know I could use a struct with nice lower case column names and copy the values over to a model, but I'd really rather not do that if I can avoid it.
I've followed the data through the various ruby layers and for most of the way the attribute names have the "correct" case.
Is there some magic configuration option I can apply to fix this or am I stuck with this behavior?