ruby needs to know where 'options' ends and 'html_options' begins... use curly braces: link_to 'link', {:anchor => 'same_page_link'}, :name => 'same_page_link'
ruby needs to know where 'options' ends and 'html_options' begins... use curly braces: link_to 'link', {:anchor => 'same_page_link'}, :name => 'same_page_link'