Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?



difference between activesupport's “hashwithindifferentaccess” and ruby's &ldq..

Answer / Mintu Ahmad

"ActiveSupport's HashWithIndifferentAccess is a subclass of Ruby's standard Hash that allows you to use both symbols and strings as keys interchangeably. By contrast, Ruby's standard Hash uses only symbols as keys."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

How would you implement hash in ruby internally?

1 Answers  


how many ways you can create a concatenating string?

1 Answers  


Can you call a private method outside a ruby class using its object?

1 Answers  


Where does a scope change in a ruby program?

1 Answers  


Tell us what is class libraries in ruby?

1 Answers  


Why Ruby is known as a language of flexibility?

1 Answers  


Tell me what is the command to create a migration?

1 Answers  


What is retry statement in ruby?

1 Answers  


what is the difference between Procs and Blocks?

1 Answers  


How to access Ruby strings elements in an application?

1 Answers  


Difference between render and redirect?

1 Answers  


Explain next statement in ruby.

1 Answers  


Categories