In rails 4.2.4, I am trying to add the google maps feature via iframe but I am getting an error like
Refused to display 'https://maps.googleapis.com/maps/api/js?key=AIsfsdfsdjLr31nsdsdfsdf16LORmV4d89hhg&output=embed' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
View file is,
<iframe width="600" height="450" frameborder="0" style="border:0"
src="https://maps.googleapis.com/maps/api/js?key=AIsfsdfsdjLr31nsdsdfsdf16LORmV4d89hhg&output=embed" allowfullscreen>
</iframe>
How to solve this iframe issue?