Partial reuse between Rails & JS, the easy way!

Submitted by Christoph Olszowka 2011-09-22 06:25:57 UTC
Source:  http://slainer68.wordpress.com/2011/09/20/partial-reuse-between-rails-js-the-easy-way/

Referenced projects

Ruby on Rails

Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.

Rubygem rails

Total Downloads
45214789
Releases
236
Current Version
4.2.1.rc1
Released
2015-02-20 00:00:00 UTC
First Release
2004-10-25 04:00:00 UTC

Github rails/rails

Watchers
25062
Forks
9780
Development activity
Very active
Last commit
2015-02-24 02:02:52 UTC
Contributors
30
Issues

Mustache

Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. Think of Mustache as a replacement for your views. Instead of views consisting of ERB or HAML with random helpers and arbitrary logic, your views are broken into two parts: a Ruby class and an HTML template.

Rubygem mustache

Total Downloads
1952059
Releases
40
Current Version
1.0.1
Released
2015-02-23 00:00:00 UTC
First Release
2009-10-05 10:00:00 UTC
Depends on following gems
Depending Gems
163

Github defunkt/mustache

Watchers
1788
Forks
159
Development activity
Less active
Last commit
2014-06-27 11:08:10 UTC
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.