Login
Roast topics
Find topics
Find it!
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
Roast topics
Find topics
Roast it!
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.