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-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.


On Nov 15, 11:10 am, JimCifarelli <[EMAIL PROTECTED]> wrote:
> 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
>
> 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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to