<%= params[:action] %>

and

<%= params['action'] %>

display

index

but what is the difference between this syntax?

Edit
Report