My manager is is unfamiliar with rails but knows a lot of SQL sometimes has me resort to sql if I don’t know how to query something. I know things can be done in sql. Granted I understand with complex queries it might be “simpler” to do some raw SQL.
My thing is why use rails if you’re just going to be using raw sql as opposed to ActiveRecord. Plus, SQL is REALLY messy and I’d hate to mix my code up with raw SQL.
Any thoughts or opnions?