Login
From:
Boring Rails: Skip the bullshit and ship fast |
(Uncensored)
subscribe
Use `to_sql` to see what query ActiveRecord will generate
https://boringrails.com/tips/active-record-to-sql
links
backlinks
Tagged with:
ruby
rails
If you’re trying to write a tricky ActiveRecord query that includes joins, complex where clauses, or selecting specific values across tables, it can be hard to remember every part of the ActiveRecord DSL.
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!