Browse Snippets
Small highly-focused lessons that will teach you best-practices and code patterns in web applications.
There are currently 11 code snippet lessons available on CodeDiode.io
Search Engine Friendly Rails Routing
Search engine friendly URLs, or slugs, or permalinks, are not as straightforward as one might think. In this lesson, I am ...
Ruby on RailsLoading Spinners in Rails
If your Rails app performs time consuming AJAX requests, such as image uploads or API calls, it might be nice to let the u...
Ruby on Rails jQuery CSSAJAX Image Uploads with Rails
In this lesson, we will be creating an Image model that will process file uploads via AJAX. This lesson is going to use Ca...
Ruby on Rails jQueryUpload Files to Google Cloud Storage with CarrierWave
Uploading files to a Content Delivery Network (CDN) is a feature that is best implemented during the early stages of devel...
Ruby on RailsZurb Foundation + Rails
Zurb Foundation is a SASS based frontend framework that can provide your app with a great looking, responsive, and highly ...
Ruby on Rails