fix validation if string is nil
fix end_with with other approach
Merge pull request #3 from schasse/fix_end_with

fix validation if string is nil
Merge branch 'master' into rails4_and_others
do not use deprecated stuff