gazay/gon — Issue #13: gon should convert variables names to camel case (accord to lots of exists JavaScript code style guides)
Author: kossnocorp
Created: 2011-10-24 06:02:10+00:00
State: open

Example:

Server:

``` ruby
gon.current_user = @current_user
```

Client-side:

``` javascript
gon.currentUser
```

I understand what this change breaks exists code, so I suggest add config option to turn on camel case convertion.