RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Understanding Rails params and HashWithIndifferentAccess

Do you love Rails minutiae? I do! Here is more than you wanted to know about HashWithIndifferentAccess, heavily cross-referenced with the GitHub source pages. What’s that? It’s how the Rails lets you call params[“sam”] and params[:sam] and they’re the same. It must be utterly simple, right? Right? Not so much.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in