Please don’t use finds, let alone finds with SQL, in views. Hide all that behind a well-named method on your Call model, create an extension named “recent” on your has_many :calls association on User or use named_scope (in Rails 2.1.x), and let your controller set up the data for the view. Since it looks like you might be using Rails 1.2.x, try something like this.
class Call < ActiveRecord::Base
find(:all, :limit => 5, :order => “id DESC”)
class User < ActiveRecord::Base
class WhateverController < …
@recent_calls = current_user.calls.find_recent
in your view
<%- if @recent_calls.blank? -%>
You have no calls
<%- else -%>
My Recent Calls
<%- end -%>
An approach like this keeps everything in its place in the MVC structure that Rails provides. If you’d like to explore using the association extension or named_scope, let the list know.