Re:Ruby 2.1: Profiling Ruby
by jbverschoor on Tuesday December 24, 2013 @09:48PM
(#6961992)
@owner ||= User.find_by_login(params[:user_id]) if params[:user_id].present?
means:
@owner ||= (User.find_by_login(params[:user_id]) if params[:user_id].present?)
means:
So everytime someone called owner() to get the owner of a repo, the regex was checked
[ Parent
| on HN ]
There are no comments on this comment yet.