chaitanyav
Not a member
chaitanyav's latest activity
Saturday, June 26 2010
4875
OrderedHash#invert returns an unordered hash
was updated
in Ruby on Rails
-
-
chaitanyav commented at 7:53 AMChris the instance method invert returns a new Hash,
In Ruby 1.9 since the ordering is preserved in Hash, it wont matter. But the 'invert' method needs to be ov...
-
chaitanyav commented at 6:29 AMAlso checked it your example.
irb(main):022:0> b = ActiveSupport::OrderedHash[[["foo", "FOO"], ["bar", "BAR"], ["baz", "BAZ"]]] => {"foo"=>"FOO", "bar"=>"BAR",... -
chaitanyav commented at 6:23 AM -
chaitanyav commented at 6:22 AMIt's working correctly
neo@myhost awesome]$ irb irb(main):001:0> require 'active_support' => true irb(main):002:0> a = ActiveSupport::OrderedHash.new => {} irb...
-
-
- Importance changed from to High
Rizwan, this ticket still shsows as new in the list. Can this be updated to show resolved
Sunday, June 20 2010
-
chaitanyav commented at 6:48 PMThanks, I got it running. I installed rvm and ruby 1.9.2 preview. And it worked.
About your application’s environment
Ruby version 1.9.2 (i686-linux)
RubyGems v... -
chaitanyav created the ticket at 6:33 AMI installed rails 3 beta 4 on my arch linux box . I created a sample app with the following command
rails new awesome
I got it running with
rails serverI opene...