```ruby
def build_url_for(project)
  case project
  when String
    "/builds/#{project}"
  when Juicy::Build
    "/builds/#{project.name}"
  end
end
```

Fix incorrect type detection in helper
user
```ruby
def build_url_for(project)
  case project
  when String
    "/builds/#{project}"
  when ::Juicy::Project
    "/builds/#{project.name}"
  end
end
```
assistant