Using preferred find_by syntax in guides

In the guides there are some examples that use `find_by_attributes`, I replaced them for the preferred `find_by` syntax.