Ruby on Rails Wednesday, September 25, 2019



On Wednesday, September 25, 2019 at 6:05:46 PM UTC-4, Rob Biedenharn wrote:


On 2019-Sep-25, at 14:45 , fugee ohu <fuge...@gmail.com> wrote:



On Friday, September 20, 2019 at 5:13:44 PM UTC-4, Colin Law wrote:
On Fri, 20 Sep 2019 at 18:10, fugee ohu <fuge...@gmail.com> wrote:
>
> How do I keep a record of the original creation date? What if I wanna preserve the original creation date?
od
Each record in the database has a created_at field.  At least mine do.

Colin

I want the creation date of file before it's uploaded Can you tell me how to find it I know it has something to do with ruby mtime function

You can't get that information in the browser. The best you could do is the lastModified time of the file.





-Rob


  They talk about cases where the last modified time isn't available What kind of device might someone be uploading a file from that doesn't have a last modified date for a file I never saw a file without a last modified date

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b52f5309-7aad-45cc-93f4-684b244947ca%40googlegroups.com.

No comments:

Post a Comment