title: Rails optional argument
body: <p>I have a class</p>
  
  <pre><code>class Person
      attr_accessor :name,:age
      def initialize(name,age)
          @name = name
          @age = age
      end
  end
  </code></pre>
  
  <p>I'd like to make the age optional so its 0 if its not passed, or the name to be blank if not passed</p>
  
  <p>Ive researched a bit on it but its a bit confusing as to what i've found (having to pass variables in another variable { }).</p>