class Status < ActiveRecord::Base
  belongs_to :user
end

class Status < ActiveRecord::Base
  belongs_to :user

  def to_s
    if lcd.nil?
      "#{text}"
    else
      "#{text} [#{lcd}]"
    end
  end
end

Add a to_s method to the Status model
Add a to_s method to the Status model

Before this method was defined, just doing a <%= status %> showed
a #<Status::x123...> because that was the default Ruby inspection!
