You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hsh=Hash.newhsh['production']='some value'hsh.fetch('production')KeyError: key not found: :productionfromorg/jruby/RubyHash.java:1183:in`fetch' from (irb):5:in `<eval>' from org/jruby/RubyKernel.java:978:in `eval'fromorg/jruby/RubyKernel.java:1291:in`loop' from org/jruby/RubyKernel.java:1098:in `catch' from org/jruby/RubyKernel.java:1098:in `catch'
It looks like even I specifically use 'production' as the key, but the fetch method is converting it to a symbol.
The same code works fine in Ruby 1.9.3
The text was updated successfully, but these errors were encountered:
version: jruby-9.0.3.0
It looks like even I specifically use 'production' as the key, but the fetch method is converting it to a symbol.
The same code works fine in Ruby 1.9.3
The text was updated successfully, but these errors were encountered: