Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def self.one_per_runner(scope_chain = self) # TODO: turn this into a scope / single query
- scope_chain.uniq{|r| r.runner }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement