摘要:
chatroom.coffee中的js代码: document.addEventListener 'turbolinks:load', -> document.getElementById("new_message").addEventListener "keypress", (e) -> if e 阅读全文
摘要:
https://github.com/rails/jbuilder Jbuilder(3300✨) Jbuilder gives you a simple DSL for declaring JSON structures that beats manipulating giant hash str 阅读全文