Seems like every time you call `get_resource` it's getting `chomp()`ed. Why not just:

````ruby
def get_resource
  super.chomp("/")
end
````