# URL Fragment Anchors -- may be a Safari Question

**URL:** <https://www.ruby-forum.com/t/url-fragment-anchors-may-be-a-safari-question/104447>\
**Category:** Rails\
**Created:** [May 18, 2007, 3:21am UTC](https://www.ruby-forum.com/t/url-fragment-anchors-may-be-a-safari-question/104447 "2007-05-18T03:21:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/839c29/32.png) [@pedz](https://www.ruby-forum.com/u/pedz)\
**Post date:** [May 18, 2007, 3:21am UTC](https://www.ruby-forum.com/t/url-fragment-anchors-may-be-a-safari-question/104447/1 "2007-05-18T03:21:00Z")

</div>

Hi,

I’m a new beginner so, please forgive if I am somewhat imprecise…

I’m wanting to use fragment anchors in my pages. (I think that is the  
right term for them). So my URL will be something like pmrs/1#id56.

I am using REST and resource style mapping.

My first question is will this work o.k.? I’ve tested it a tiny bit  
and it seems o.k. but I’m worried that I may collied with the mapping  
processing.

My real question is, with Safari, going to the same URL but different  
fragment anchor, sends the request to the server and the whole page is  
redrawn. With Firefox (on a Mac), that is not the case. The desired  
effect happens: the page simply scrolls to the right place.

Is what Safari doing because I’m doing something wrong or is this just  
how Safari does things?

Thank you,

BTW Rails really ROCKS!!!

---

<div class="post-metadata">

**Author:** ![pedz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/839c29/32.png) [@pedz](https://www.ruby-forum.com/u/pedz)\
**Post date:** [May 18, 2007, 3:49am UTC](https://www.ruby-forum.com/t/url-fragment-anchors-may-be-a-safari-question/104447/2 "2007-05-18T03:49:51Z")

</div>

hi,  
i think you can refer the Beast source code, it’s a good example for  
using  
REST.  
Beast: [http://beast.caboo.se/](http://beast.caboo.se/)

you can check out source from:

[http://svn.techno-weenie.net/projects/beast/](http://svn.techno-weenie.net/projects/beast/)
