[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23336] Re: [Bug #1414] NameError (undefined method `path' for class `ActionController::UploadedStringIO')

From: Yukihiro Matsumoto <matz@...>
Date: 2009-04-30 09:24:46 UTC
List: ruby-core #23336
Hi,

I am afraid that it's a bug in Rails or its plugin.  Could you isolate
the problem if it's a bug in Ruby itself?

							matz.

In message "Re: [ruby-core:23326] [Bug #1414] NameError (undefined method `path' for class `ActionController::UploadedStringIO')"
    on Mon, 27 Apr 2009 15:35:02 +0900, Rick Lloyd <redmine@ruby-lang.org> writes:

|Processing ApplicationController#create (for 127.0.0.1 at 2009-04-26 19:00:26) [POST]
|  Parameters: {"authenticity_token"=>"cP8NCg4Exg4e22Ijs/bRLpgzjnVwmwspKi8QnF4Xi40=", "mugshot"=>{"uploaded_data"=>#<File:/var/folders/JP/JP7pZWhAHLy-es7AYViHF++++TI/-Tmp-/RackMultipart50621-2>}, "commit"=>"Create"}
|
|NameError (undefined method `path' for class `ActionController::UploadedStringIO'):
|  <internal:prelude>:8:in `synchronize'
|  thin (1.0.0) lib/thin/connection.rb:63:in `pre_process'
|  thin (1.0.0) lib/thin/connection.rb:54:in `process'
|  thin (1.0.0) lib/thin/connection.rb:39:in `receive_data'
|  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
|  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
|  thin (1.0.0) lib/thin/backends/base.rb:57:in `start'
|  thin (1.0.0) lib/thin/server.rb:150:in `start'
|
|The problem is triggered when using attachment_fu, with file_storage, to load a jpg image into a rails application.

In This Thread