Is there example of ruby on rails project for taking a Card Payment with Web Payments SDK

I Solved!!

Add following source on top line of html.erb for web_payment_page.
<%case Rails.env%>
<%when ‘production’%>
<%= javascript_include_tag “https://web.squarecdn.com/v1/square.js” , ‘data-turbolinks-track’: ‘reload’ %>
<%when ‘development’%>
<%= javascript_include_tag “https://sandbox.web.squarecdn.com/v1/square.js” , ‘data-turbolinks-track’: ‘reload’ %>
<%end%>