What is exactly the meaning of this Ruby on Rails Syntax
options = ->(p) {{controller: 'clients', subdomain: "m.#{Rails.env}"}.merge!(p)}
I have never encountered this syntax before: ->(p)
.
I could not even find resources on that on google. Does anyone have a tutorial about that?