Simplify select_one method.

tiny refactor :)

The select_all method always returns ActiveRecord::Result instance,
and the ActiveRecord::Result includes Enumerable mixin.
If an ActiveRecord::Result instance is empty, #first method returns nil. Thus we can simplify this method.

and I found an indentaion problem.