title: Is there an equivalent to a jQuery $(this) in Rails controller?
body: <p>For example is there a way to do something like this?</p>
  
  <pre><code># IN CONTROLLER
  if Tweet.find(params[:id])
    @tweet = this
    # instead of writing 
    # @tweet = Tweet.find(params[:id])
  else
    @tweet = Tweet.new(tweet_params)
  end
  </code></pre>