title: Compile Time Error in Rails application
body: <p>I'm going through the railstutorial.org book and getting a compile time error in code</p>
  
  <pre><code>&lt;div class="center hero-unit"&gt;
  &lt;h1&gt;Welcome to the Sample App&lt;/h1&gt;
  &lt;h2&gt;
  This is the home page for the
  &lt;a href="http://railstutorial.org/"&gt;Ruby on Rails Tutorial&lt;/a&gt;
  sample application.
  &lt;/h2&gt;
  &lt;%= link_to "Sign up now!", '#', class: "btn btn-large btn-primary" %&gt;
  &lt;/div&gt;
  &lt;%= link_to image_tag("rails.png", alt: "Rails"), 'http://rubyonrails.org/' %&gt;
  </code></pre>
  
  <p>my error is</p>
  
  <pre><code>compile error
  /home/ritesh/projects/sample/app/views/static_pages/home.html.erb:8: syntax error, unexpected ':'
  ...to "Sign up now!", '#', class: "btn btn-large btn-primary" )...
                                ^
  /home/ritesh/projects/sample/app/views/static_pages/home.html.erb:10: syntax error, unexpected ':', expecting ')'
  ...to image_tag("rails.png", alt: "Rails"), 'http://rubyonrails...
                                ^
  /home/ritesh/projects/sample/app/views/static_pages/home.html.erb:10: syntax error, unexpected ')', expecting kEND
  ...), 'http://rubyonrails.org/' );@output_buffer.safe_concat('
                                ^
  </code></pre>
  
  <p>i think : should be there after class.can any one please suggest how to rectify this error</p>