title: Getting undefined method errors with fresh ruby project
body: <p>I've installed ruby on rails on my raspberry pi (following <a href="http://elinux.org/RPi_Ruby_on_Rails" rel="nofollow">this</a> tutorial). I've created a new project and generated a controller with 3 actions. Thats all I did. When I run the server and navigate to one of the 3 actions, I always get this error:</p>
  
  <pre><code>NoMethodError in VolumeController#overview
  undefined method `allow_forgery_protection' for nil:NilClass
  </code></pre>
  
  <p>I am new to ruby on rails but what I've already tried is to comment out the "protect_from_forgery with: :exception" line on my ApplicationController. But after doing so I get the following error on all actions:</p>
  
  <pre><code>NoMethodError in VolumeController#overview
  undefined method `inheritable_copy' for nil:NilClass
  </code></pre>
  
  <p>I don't understand where this could come from. There is absolutely no code in the controllers and views yet, everything is still as it was generated by rails with the "rails g controller" command.</p>
  
  <p>I then tried to generate a scaffold with rails in a new project and this works! But thats not what I want. I also tried to create my project and controller again but I still get the same error.</p>
  
  <p>Is anybody out there who can help me? What did I do wrong?</p>