Topic: wierd syntax i want to understand
Through working with rails i've come across a couple of things that i really don't understand synactically speaking.
First one is when doing this:
@hello = sessions[:name]
:name is wierd here because since am using sessions array i should be accessing index-based item. So how come i am using :name?
Second one is almost the same when doing:
<%= f.text_area :description %>
This is a method call which should take arguments, what is :description and what does it represent?