How do you write a method thats similar to find_by_username, I want to
write a method that works dynamically like that, but I have no idea
where to begin...
Do you declare the method differently? How do you access the part of the
method header you want, i.e. username?