I think adding a token through a rake command would be the easies. It
seems "aside from writing the rake task" this would be pretty simple.
Even the rake task should be pretty easy because it's simply a random
token. Something like this...
def generate_token
self.report_token ||= Digest::SHA1.hexdigest("--#{Time.now.to_s}--#
{id}--")
end
If you did a random url you would have to create a separate table to
keep track of the keys. It's only my opinion, but it seems adding a
field would be slightly less overhead in the long run.
I used random urls on this website "www.sliver.me". You can give it a
try, it's basically a url shortener mixed with a shadowbox to display
websites or images with style.
Thanks!
Chris
I used random urls on this website "www.sliver.me". You can give it a
try, it's basically a url shortener mixed with a shadowbox to display
websites or images with style.
I just haven't coded it yet. I wrote this site over the weekend and
didn't take the time to add that. I'll get right on it :-)
Hey AJ,
I just haven't coded it yet. I wrote this site over the weekend and
didn't take the time to add that. I'll get right on it :-)
Sent from my iPhone
On Dec 28, 2009, at 9:51 PM, Chris Sund
<ch...@silhouettesolutions.net> wrote:
> --
> Utah Ruby Users Group
> ur...@googlegroups.com
> http://groups.google.com/group/urug/
> - All meeting times and places can be found here.
>
> ** Please suffix your subject with "[JOB]" if your message is about
> job opportunities.
--