<?xml version="1.0" encoding="UTF-8"?>
<page>
  <content>Symbols are just one of those things you use when developing Rails applications without really thinking about it. This means when you actually wonder what the difference is between session['user'] and session[:user] you just end up scratching your head.

"Kevin Clark":http://glu.ttono.us/ has a great post on "understanding Ruby symbols":http://glu.ttono.us/articles/2005/08/19/understanding-ruby-symbols that explains it extremely well. Definitely worth reading and bookmarking for future reference.</content>
  <created-on type="datetime">2007-02-22T15:43:57+00:00</created-on>
  <has-changes type="integer">0</has-changes>
  <html>&lt;p&gt;Symbols are just one of those things you use when developing Rails applications without really thinking about it. This means when you actually wonder what the difference is between session[&amp;#8216;user&amp;#8217;] and session[:user] you just end up scratching your head.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://glu.ttono.us/"&gt;Kevin Clark&lt;/a&gt; has a great post on &lt;a href="http://glu.ttono.us/articles/2005/08/19/understanding-ruby-symbols"&gt;understanding Ruby symbols&lt;/a&gt; that explains it extremely well. Definitely worth reading and bookmarking for future reference.&lt;/p&gt;</html>
  <id type="integer">109</id>
  <is-post type="integer">1</is-post>
  <is-published type="integer">1</is-published>
  <title>Explaining Ruby Symbols</title>
  <url>notebook/2007/02/22/explaining_ruby_symbols</url>
</page>
