fridomat/Rails-Girls-Universe — pull request #2 by aknrdureegaesr (2012-09-30 00:26:12+00:00)
Title: No twitter link if no twitter handle

This pull request, if pulled, fixes bug #1 .

ActiveRecord does not promise to return `nil` if there is no data in the database for a certain field.

Instead, the ActiveRecord API gives us [query methods](http://api.rubyonrails.org/classes/ActiveRecord/Base.html#label-Attribute+query+methods) that tell whether something is present or not.

Makes for nicely readable code, too.

Happy coding ❣