rethinkdb / docs

RethinkDB documentation
http://rethinkdb.com/docs
Apache License 2.0
117 stars 167 forks source link

Modernize sample code #1198

Closed satoryu closed 3 years ago

satoryu commented 7 years ago

Description

I found some old notation in the sample code and fixed it.

chipotle commented 7 years ago

While I'm not against merging this, there's one caveat: all the Ruby code throughout the entire documentation uses the old :foo => 'bar' style for key/value pairs, and I'm not sure whether it's a good idea to fix just part of it rather than updating everything to use the new style. (Or not so new at this point, I realize...)

This is not a request for you to update the whole doc tree in this PR, by the way. :) I think this is something we could probably do with a script, albeit a careful one.