#standard rails controller
#Controller
class MyController < ApplicationController
def index
@url="Hello world"
end
end
#View
#@url is empty
<%= @url %>
########################################################
#Metal Controller
class MyController < ActionController::Metal
def index
@url="Hello world"
end
end
#View
#@url is not empty, all ok
<%= @url %>