Add resource_has.rb