Subscribe to our newsletter

  • This field is for validation purposes and should be left unchanged.

Testing Rails 4 Apps With RSpec 3: Part II

By | Development |

In this two-part series, I cover testing a Rails application using RSpec and some other popular gems. If you missed Part 1, head over to Testing Rails 4 Apps With RSpec 3: Part I to get caught up first. In Part 2, with the setup out of the way, we’ll dive into writing tests for the various components of a Rails…

Read More

5 SEO WordPress Plugins to Improve Search Rankings

By | Marketing |

So you have a great WordPress site, but no one is visiting. Now what? There are many exceptional WordPress plugins available to boost your SEO to bring more traffic to your site and generate more leads. I’ve listed out a couple of plugins that I think can improve your search engine rankings to reach the top spot. 1. WordPress SEO…

Read More

Getting to Know Your Shell’s Job Control Features

By | Development |

This post is about job control in Unix shells. Job control is your command line shell’s built-in interface for managing multiple jobs. Although I’ve known about and used job control features like & for a long time, I only recently discovered how they all fit together. With your terminal emulator’s tabs and programs like tmux and screen, it’s possible to…

Read More

Code Spelunking in Rails with Pry

By | Development |

In this article, we’ll look at using Pry, an IRB alternative, in a Rails application. In the LISP world, it’s common to develop the entire program interactively from the REPL (language shell) —writing functions, testing and modifying them as you go and saving them to files as needed. Because Ruby is dynamic and allows you to easily modify code at…

Read More

How to Add Facebook Comments to My Website

By | Development | One Comment

*This is an updated version of our previous tutorial on adding Facebook comments to your website.* Facebook’s social plugin, Comments, allows you to quickly add comments to your website. Users not only have access to basic commenting abilities, they also have the option to cross-post their comments directly into their Facebook Timeline. Comment Administrators also gain access to a deeper…

Read More

Starting a Remote Rails Console With Capistrano

By | Development |

For developers that deploy Rails with Capistrano, here are a few tasks to quickly open an interactive rails console or rails dbconsole on a remote server. If you’re like me, you’ll occasionally want to open a console to run a quick query, set an admin flag on a user or just verify that a migration worked correctly. This usually means…

Read More

Testing Rails 4 Apps With RSpec 3: Part I

By | Development |

In this two-part series, I’ll cover testing a Rails application—from how to get set up with the latest toolchain to writing those first tests. While it can be tricky to get everything playing nicely together, a solid test suite can be lifesaver down the road.  In Part 1, I’ll look at how to set up and configure RSpec 3 (with…

Read More

How to Write and Test Time-Dependent Code

By | Development |

Lately I’ve been writing a lot of code that deals with time—from time zones and scheduling tasks to scheduling tasks from different time zones. Time can be really tricky. It’s notoriously hard to debug and its gotchas are easy to overlook. Here are a few tips for writing and testing time-dependent code that I wish I could send back in…

Read More
  • Free Ebook: 5 Common Mistakes to Avoid When Building a Website Download Now ›