title: How are Rails instance variables passed to views?
body: <p>In my Rails app, I have a controller like this:</p>
  
  <pre><code>class MyController &lt; ApplicationController
    def show
      @blog_post = BlogPost.find params[:id]
    end
  end
  </code></pre>
  
  <p>In my view I can simply do this:</p>
  
  <pre><code>&lt;%= @blog_post.title %&gt;
  </code></pre>
  
  <p>I'm uncomfortable with magic. How is this achieved?</p>