some_db_errors_in method made by ruby-way