A (more) complete cheatsheet for Arel, including NamedFunction functions, raw SQL and window functions.
posts = Arel::Table.new(:posts)
posts = Post.arel_table # ActiveRecordNote: You may have to go into Preferences (⌘,) -> Profiles -> Keys and enable Left option (⌥) key acts as: +Esc for the option commands to work.
| Modifier | Symbol | 
|---|---|
| Option | ⌥ | 
| Command | ⌘ | 
| Control | ⌃ | 
| Caps Lock | ⇪ | 
| Shift | ⇧ | 
| program Jilb_metric; | |
| {$optimization off} | |
| {$APPTYPE CONSOLE} | |
| uses | |
| SysUtils,Windows, | |
| RegExpr in 'regexpr.pas'; | |
| const | |
| PATH='D:\Documents and Settings\yankovskiid\Рабочий стол\Метрология\Gilb.txt'; | 
| program Spen_metric_v3; | |
| {$APPTYPE CONSOLE} | |
| uses | |
| Windows, | |
| SysUtils, | |
| RegExpr in 'D:\Documents and Settings\yankovskiid\Рабочий стол\Метрология\regexpr.pas'; | |
| type |