Rails

Welcome.

I built this blog to showcase problems, solutions and thoughts about web development, web design and technology...

Dec 22, 2013 on Rails JavaScript Jquery Database DevOps  0

MVC...R?

Ruby on Rails follows the popular Model, View, Controller paradigm. One thing of note about this is Rails’s separation of the routes from the controller...

Jul 01, 2014 on Rails Ruby MVC  0

Nested Resources on Rails

There are a few key things you must remember when working with nested resources in Ruby on Rails. The first thing to do is edit your routes file...

Jul 02, 2014 on Rails Ruby ActiveRecord  0

Yo Dawg, I Heard You Like Partials So I Put a Partial In Your Partial So You Can Refactor While You Refactor.

One of the founding principles of Ruby on Rails is "Don't Repeat Yourself", or DRY...

Jul 03, 2014 on Rails Ruby CleanCode  0

Cookie Monster Would Not Be Impressed By These Cookies

In every Internet Browser, there are what are called cookies...

Jul 07, 2014 on Rails Ruby Web  1

Light Authentication With Monban

If you want to have user authentication on Rails, but don't require something as hard hitting as Devise or Clearance, Monban is the way to go...

Jul 08, 2014 on Rails Ruby Gem Authentication  0

Three Tables Are Better Than Two

In SQL, you can't have two tables that have each other's foreign key, you must use a third table to hold the foreign keys of the relationship...

Jul 10, 2014 on Rails Ruby ActiveRecord SQL  0

How to Work With Le Gems in Ruby on Rails

In Ruby, there is a huge community of packages, a lot of which interact with Ruby on Rails...

Jul 11, 2014 on Rails Ruby Gem  0

What's the Point of TDD

At Metis, we haven't been using test driven development to help develop our Ruby on Rails apps...

Jul 14, 2014 on Rails Ruby TDD  0

to_param, the Best Method Ever

If you want to create vanity URLs, and who doesn't, then to_param is the method for you...

Jul 15, 2014 on Rails Ruby Prettyurls  1