bulk_data_source icon indicating copy to clipboard operation
bulk_data_source copied to clipboard

Case conversion

Open henrygarner opened this issue 14 years ago • 0 comments

My multi-word snake_case rails associations were not being picked up correctly. I'd have liked to use the 'key' property on the associations to translate, but I couldn't see how to do this (it would seem to involve looping through all defined associations for a record type and creating an association key -> property name map). Instead, I've assumed that we'll always be using snake_case on the server side and camelCase in Sproutcore. This isn't ideal, but seems to me a small improvement on no conversion at all.

henrygarner avatar Jul 09 '11 20:07 henrygarner