High Performance PostgreSQL for Rails:

@andatki

High Performance PostgreSQL for Rails - wrong code example

The code description does not match the code snippet.

1 Like

Thanks for catching this! I’ll get this fixed and follow up.

Hi @ka8725. When I looked into this, it had been fixed up already in a newer version than what you had. Here’s how it looks now (let me know what you think):

More context on what happened: Authors can choose to put code in external files. As a reader myself, I liked the idea of having most of the source code as separate files for easier downloading.

However, this creates a risk that the wrong file path is included when it’s referenced in a section of prose, which is what happened here (as you noticed).

I think we’ve got 'em all, but if you see any more like that please let us know. Thanks again for catching this, it helps us out and future readers!