Since `@bookmark.url` is not within ERB tags, it's just part of the literal page markup -- this is a link to "@bookmark.url", which is not a valid URL. `<a href="<%= @bookmark.url %>">` would do it, but I would instead replace this with `<%= link_to @bookmark.name, @bookmark.url %>` which generates the markup for you.