search for: used_at

Displaying 1 result from an estimated 1 matches for "used_at".

Did you mean: used_as
2011 Mar 09
1
Generating Unique Tokens for Assets within Rails Application
...ation to a file. I''m wanting to allow each asset to have numerous tokens in use, currently. Essentially, you upload a file (asset) and when you upload it, it gets an id (@asset.id). I have another scaffold I''ve created Token, which belongs_to :assets and has: public_key:string used_at:datetime asset:references I''m not sure how to move forward from here. I want you to click a link, and it will generate a key. Then you could email this key off to someone and they would click the link and download the file. That would be my starting point, from there I could work out t...