I am working my way through Head First Rails, and I keep seeing =>
. It's in the routes:
map.connect '/marmots/new', controller=>'marmots', :action=>'new'
It's in rendering partials:
render :partial=>"new_marmot"
It's in options for links:
<%= link_to 'Destroy', marmot, :confirm=>'Are you sure?', :method=>:delete %>
Basically, =>
seems to mean 'equals,' but if so, why not just use an equals sign? Is it more like 'send to?'
How do you pronounce => and what do you understand it to mean? I can get by without knowing this, but it bugs me.