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