# ShareMyDeal.com

**URL:** <https://www.ruby-forum.com/t/sharemydeal-com/153354>\
**Category:** Rails\
**Created:** [November 15, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/sharemydeal-com/153354 "2008-11-15T14:56:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyrix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@lyrix](https://www.ruby-forum.com/u/lyrix)\
**Post date:** [November 15, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/sharemydeal-com/153354/1 "2008-11-15T14:56:25Z")

</div>

Greetings, you all,

We recently released our first Ruby on Rails application

[www.ShareMyDeal.com](http://www.ShareMyDeal.com)

The site is built on top of the great work “Altered Beast” by Rick  
Olsen/Courtney. So just want to take the chance to thank them first.

We are hoping this is going to be THE online shopping community in the  
future. We not only give cash back to members shopping thru our site,  
we also reward members with cash who forward deals to others and deal  
hunters who find all the great deals for you from internet. All  
rewards are unlimited and calculated on a transaction basis. We made  
sure everyone gets credit in an online shopping experience and this  
model will work.

So check it out if you have a spare second, also if you’d like to add  
a friend link to our site from yours, please register first and start  
earning referral bonus.

Also any comments and suggestions are highly appreciated!

Thanks,  
lyrix

---

<div class="post-metadata">

**Author:** ![lyrix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@lyrix](https://www.ruby-forum.com/u/lyrix)\
**Post date:** [November 15, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/sharemydeal-com/153354/2 "2008-11-15T17:11:11Z")

</div>

Hello lyrix,

The site looks nice.

I have a question on your technique for permalinks. On the main page,  
I hovered over your “Go to store” links. For example, the deal on $20  
off Timberland boots was:

[http://www.sharemydeal.com/opportunities/topic/timberland-20-off-boots](http://www.sharemydeal.com/opportunities/topic/timberland-20-off-boots)

What would happen is another deal at a different store (running at the  
same time) was also $20 off Timberland boots? In other words, when  
you make your permalinks, will you append something, like a deal id,  
if there are multiples in order to make permalinks unique?

Thank you and good luck. I’ll be watching for a deal!

-Jim

---

<div class="post-metadata">

**Author:** ![lyrix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@lyrix](https://www.ruby-forum.com/u/lyrix)\
**Post date:** [November 15, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/sharemydeal-com/153354/3 "2008-11-15T21:39:39Z")

</div>

Hey, Jim,

the permalink\_fu plugin can manage this very nicely for the model.

For example see the URL below for the two deals we had with exactly  
same title: “$25 Restaurant GC for $2”

[http://www.sharemydeal.com/forums/hot-deals/topics/restaurant-com-25-gift-certificates-are-only-2](http://www.sharemydeal.com/forums/hot-deals/topics/restaurant-com-25-gift-certificates-are-only-2)  
[http://www.sharemydeal.com/forums/hot-deals/topics/restaurant-com-25-gift-certificates-are-only-2-2](http://www.sharemydeal.com/forums/hot-deals/topics/restaurant-com-25-gift-certificates-are-only-2-2)

what’s more impressive is you can even specify the scope of the  
permalink uniqueness even though we are not using this feature, for  
example in a BBS application such as aBeast, you can say the topic  
permalink needs to be unique in my ‘hot-deal’ board, not necessarily  
across the entire forums.
