I guess the MVC way is to populate a variable in your controller that
is then made available to your view. So for your example in your
@some_id = params[:id]
and then in your view
<%= @some_id %>
Not knowing what your trying to achieve I don’t think I can give you much more than that.