What is a Gem?
A gem is a collection of Ruby code that is shareable. It is a way for Ruby
developers to share functionality across projects. There are heavier gems, like
devise, that can handle user authentication in a Rails app, and lighter gems
that can offer your application… »
In my previous post [https://www.thegreatcodeadventure.com/hello-or-building-a-chatting-app-with-rails/]
, we learned how to build a chat application with Rails, Faye and the Private
Pub gem. Now that we have our chat app working locally, we are ready to deploy!
The publish-subscribe model that our chat application is employing requires that… »
This week, I set out to build a simple chatting application with Rails. This
idea was born of a super fun game that I like to play during car
rides--Title-ize. The premise is this: one person comes up with a fake movie
title ("The Purple Statue", for example)… »
D3 is a Javascript library that allows you to bind data to the DOM and apply
data-driven transformations to the document.
What does that mean? Essentially, D3 (which stands for data driven document)
allows you to generate HTML or SVG elements based on arrays of numbers. For
example, you could… »
As much as we all love Ruby (and Rails!), I'm hard pressed to think of an
application that uses it exclusively. One of the most common languages to
incorporate into a Rails app is Javascript.
Javascript determines the behavior of webpages. Many would consider it to be the… »