lazy_value gem
https://github.com/railsjazz/lazy_value Load values on your pages using Ajax. Literally with one line of code: <%= lazy_value_tag { User.active.count } %>
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
https://github.com/railsjazz/lazy_value Load values on your pages using Ajax. Literally with one line of code: <%= lazy_value_tag { User.active.count } %>
Post a comment