def load_default_attributes(model_name, options = {})
    fixture = options[:fixture] || :default
    attributes = temp_attributes = model = {}
    instance_eval <<-FIN
      temp_attributes = #{model_name.to_s.pluralize}("#{fixture}")
      model = #{model_name.to_s.capitalize}
    FIN
    .
    .
    .
  end

I know there must be a neater way to get hold of a class (or in this
case a Rails model) and with the temp_attributes to get hold of a
fixture, can anybody shed some metaprogramming light?

Thanks.