Meta property for videos uploaded from rails application

Hi all,

Iam having an issue with uploading videos to facebook from my rails
application. One of my team member said that we should send meta
properties of the video to post on facebook. Iam new to ROR and i dont
know how to get the meta properties. Please can anyone help me in this
with an example?

The code that he gave me was this:

I want to do it in rails

<meta property="og:type" content="video">
 <meta property="og:image"