A (more) complete cheatsheet for Arel, including NamedFunction functions, raw SQL and window functions.
posts = Arel::Table.new(:posts)
posts = Post.arel_table # ActiveRecord| ! Hybrid Terminal Colours. Uses the palette from Tomorrow-Night: | |
| ! https://github.com/chriskempson/tomorrow-theme/blob/master/vim/colors/Tomorrow-Night.vim | |
| ! vim: ft=xdefaults | |
| *background: #1D1F21 | |
| *foreground: #C5C8C6 | |
| ! black | |
| *color0: #282A2E | |
| *color8: #373B41 | |
| ! red |