11
yanchi
6y

Writing SQL queries in a controller should be illegal! 🙄

Comments
  • 2
    As a Rails Dev, I agree with you.
  • 1
    As a person who has made query builders a few times I disagree.

    But for anything but querybuilders I agree
  • 1
    it's SO wrong on SO many levels...
  • 0
    Why? Optimization is about the same is it not?
  • 2
    Ah, yes, good old thick controller, thin model... Never really worked out.
  • 0
    I thought of microcontrollers and was very confused for a while
Add Comment