Ruby

Ruby Enumerable, Part 2

The Enumerable module can be used for all of your Ruby classes as long as they implement their own each method...

Aug 06, 2014 on Ruby  0

You're so vain, you probably think this URL is about you.

In Ruby on Rails, when you want to make a particular route that has a parameter with spaces in it, you would typically get something like /regions/new%20york...

Aug 08, 2014 on Rails Ruby ActiveRecord Prettyurls  0

NullUser On Rails

The Null Object Pattern is a popular software pattern that can be very useful as it can get rid of many nil checks in Ruby...

Aug 11, 2014 on Rails Ruby Authentication SoftwarePatterns  0

Multiple Images with PaperClip

For any given web application, you probably want your users to be able to embed pictures or other types of multimedia for a richer experience...

Aug 14, 2014 on Rails Ruby Paperclip  0

Testing Paperclip with RSpec, Capybara, and Factory Girl

Recently I've been working on a project that allows users to upload photos or videos with the twist of using the same form and determining file type on the s...

Aug 22, 2014 on Rails Ruby TDD Paperclip  2

Send Email on Rails with ActionMailer

In Ruby on Rails, ActionMailer allows you to email users from your server with processed Ruby code, which can serve any number of uses...

Sep 03, 2014 on Rails Ruby Email  0

PostgreJSON

In PostgreSQL version 9.2, JSON storage functionality was introduced, so now it has the capability to be schema-less...

Sep 15, 2014 on Rails Ruby Postgres JSON  0

Geolocating on Rails

In this day in age, 2014, websites using location services are becoming more and more common to better serve customers as they can provide a quicker, cleaner...

Sep 23, 2014 on Ruby Geolocation  1

Devise on Rails

With most web apps, you'll want to have some type of authentication system so your users' data is secure...

Oct 07, 2014 on Rails Ruby Gem Devise Authentication  0

Devise Guest User

Using Devise in Ruby on Rails can be very convenient for authentication, but there are some necessary workarounds that you must be aware of, specifically whe...

Oct 09, 2014 on Rails Ruby Gem Devise Authentication SoftwarePatterns  0