Skip to content
  • Petrik's avatar
    32aaeba0
    Show generated SQL as comment wihout `=>` in all examples [ci-skip] · 32aaeba0
    Petrik authored
    If we show the generated SQL in a Ruby code block, some examples used:
    * a  hash rocket `=>` (about  29 times)
    * no hash rocket      (about 124 times)
    
    The hash rocket is shown in IRB to show the return value of the last
    statement. As SQL is never returned this way, and for consistency the
    hash rocket has been removed.
    32aaeba0
    Show generated SQL as comment wihout `=>` in all examples [ci-skip]
    Petrik authored
    If we show the generated SQL in a Ruby code block, some examples used:
    * a  hash rocket `=>` (about  29 times)
    * no hash rocket      (about 124 times)
    
    The hash rocket is shown in IRB to show the return value of the last
    statement. As SQL is never returned this way, and for consistency the
    hash rocket has been removed.
Loading