loading...

re: The Rails Model Introduction I Wish I Had VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi Max, I have some tips for you. In your by_same_author example, you run reject against a collection of results. This is not very efficient becau...
 

Thank you feedback! I did some edits to the post that worked in the points you made.

 

Right on. :)

I guess my question is... a few of the things I suggested were all fixing the same fundamental concern, which is running a SQL query (efficient!) and then taking the result and iterating over it in Ruby (not efficient!). Do you feel confident that you've internalized how to properly kick ass moving forward?

code of conduct - report abuse