Five Active Record Features You Should Be Using
Active Record is responsible for communicating with the persistence layer by default in Ruby on Rails applications. Using Active Record effectively and efficiently can greatly improve an application’s code.
Comments
With the repeated use of .map(&:column), it might be worth to also show .pluck(:column).
Post a comment