You can’t do that in Rails, because the anchor is not sent to the server. See mikeduncan.com/?s=named+anchors
More Related Contents:
- How do I get the current absolute URL in Ruby on Rails?
- How do I set default host for url helpers in rails?
- Rails: What’s a good way to validate links (URLs)?
- How would you parse a url in Ruby to get the main domain?
- Rails 3 UTF-8 query string showing up in URL?
- Mysql2::Error::ConnectionError: Access denied for user
- How to avoid NoMethodError for missing elements in nested hashes, without repeated nil checks?
- Unable to install gem – Failed to build gem native extension – cannot load such file — mkmf (LoadError)
- Singular or plural controller and helper names in Rails
- Rails: confused about syntax for passing locals to partials
- TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows
- How to determine if one array contains all elements of another array
- Weird “406 not acceptable” error
- Rails 3: alias_method_chain still used?
- Rails new vs create
- Parse a string as if it were a querystring in Ruby on Rails
- Where is the Rails method that converts data from `datetime_select` into a DateTime object?
- Encoding Ruby on Rails code?
- Can’t migrate database after scaffold. Section 2.2 Ruby on Rails Tutorial Michael Hartl
- AWS S3: The bucket you are attempting to access must be addressed using the specified endpoint
- How to check for a JSON response using RSpec?
- How to use Active Support core extensions
- Rails: PG::UndefinedTable: ERROR: relation “…” does not exist
- Rails Observer Alternatives for 4.0
- Rails Model, View, Controller, and Helper: what goes where?
- How Do I Use Factory Girl To Generate A Paperclip Attachment?
- Ruby on rails 4 app does not work in iframe
- Rails 3 invalid multibyte char (US-ASCII)
- Validates acceptance always failing
- Incompatible library version: nokogiri.bundle requires version 11.0.0 or later, but libxml2.2.dylib