Google Polymer with rails 4

前端 未结 5 983
长情又很酷
长情又很酷 2021-02-04 20:52

I have build a Ruby on rails app.I want to use polymer with my ruby on rails app. Cam anybody suggest some good resources to learn polymer with rails ?

Is it efficient t

5条回答
  •  面向向阳花
    2021-02-04 21:02

    I've built a bower package for dealing with rails forms with polymer. It my come in handy, especially if you're going with to be building any kind of ajax forms or using nested attributes.

    https://github.com/hobberwickey/polymer-rails-forms

    To answer your more general question though, I've been working with Polymer and both Rails / Sinatra for a while now and it's a great tool for building out the front end of your application without relying heavily on erb / haml or other server-side templating.

提交回复
热议问题