Dont fail on Ruby 1.8.7

`:name` paramater is deleted from resource creating because on Ruby 1.8.7 for some reason `:name` takes precedence over `:path`.