Typo in resource.rb