class Client
  include Mongoid::Document
  field :name, type: String
  field :wisecrack_id, type: String
  embeds_many :projects
end
class Client
  include Mongoid::Document
  field :name, type: String
  embeds_many :projects

  def wisecrack_id
    Wisecrack.get_client_by_name self.name
  end
end
Move the Wisecrack ID out of Mongo and to the API
Move the Wisecrack ID out of Mongo and to the API