A website template with lots of features, built with ruby on rails.
json.array!(@contact_messages) do |contact_message| json.extract! contact_message, :id, :title, :email, :content, :unread, :user_id json.url contact_message_url(contact_message, format: :json) end