stac47 (Laurent Stacul)
- Login: stac47
- Registered on: 02/16/2023
- Last sign in: 02/16/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
02/18/2023
-
06:41 AM Ruby Bug #19441: Closing an Tempfile#dup behaviour
- Thanks nobu for your answer it makes perfect sense.
My case which led to the current question comes from a Rails application which has a controller receiving a file. My input `params[:file]` hold an `ActionDispatch::Http::UploadedFile...
02/16/2023
-
02:35 PM Ruby Bug #19441: Closing an Tempfile#dup behaviour
- Provided `#dup` generally returns an object of the same type, I would expect to have a `Tempfile` object.
The unexpected thing was that if I replay the same scenario with `File`, I have what I expect. I was just wondering whether the ... -
10:40 AM Ruby Bug #19441 (Closed): Closing an Tempfile#dup behaviour
- Hello amazing ruby folks!
I classified that ticket as a "Bug" although it is perhaps something I did not understand.
Here is a ruby session:
``` ruby
irb(main):001:0> file = Tempfile.new
=> #<File:/var/folders/m2/bljzrgq160vbf...