A (more) complete cheatsheet for Arel, including NamedFunction functions, raw SQL and window functions.
posts = Arel::Table.new(:posts)
posts = Post.arel_table # ActiveRecord| [ | |
| { | |
| "user": "saldanac", | |
| "issues": 2534 | |
| }, | |
| { | |
| "user": "djimenezjerez", | |
| "issues": 555 | |
| }, | |
| { |