robots.thoughtbot.com Archives - 20 September 2013, Friday

  • Streamline your git workflow with aliases

    robots.thoughtbot.com 20 Sep '13, 7pm

    Streamline your git workflow with aliases hgimenez April 19, 2011 git shell unix aliases My git workflow is heavily influenced by articles such as Rein’s or the topic branches workflow on the excellent ProGit book. The idea is simple: 1. Start a story with a new branch. From the maste...

  • Ruby Science Turns One Today

    robots.thoughtbot.com 17 Sep '13, 7pm

    jferris September 17, 2013 ruby ruby science One point oh, that is! I’m very pleased to announce that Ruby Science 1.0 has just hit the digital presses. Ruby Science has come a long way since its initial release last December. The book now contains 40 action-packed chapters - pun inte...

  • We’re very excited to announce our newest location: Raleigh-Durham, North Carolina!

    thoughtbot comes to the Research Triangle

    robots.thoughtbot.com 13 Sep '13, 6pm

    thoughtbot comes to the Research Triangle drapergeek September 13, 2013 raleigh durham office I am thrilled to announce that thoughtbot is opening an office in Raleigh-Durham, North Carolina! As our business continues to grow, we are opening more offices. Our next office expansion is ...

  • Better Acceptance Tests with Page Objects

    robots.thoughtbot.com 12 Sep '13, 4pm

    feature 'Manage todos' do scenario 'view only todos the user has created' do sign_in_as '[email protected]' create_todo_titled 'Lay eggs' sign_in_as '[email protected]' user_should_not_see_todo_titled 'Lay eggs' end scenario 'complete my todos' do sign_in_as '[email protected]' create_t...

  • Testing Null Objects

    robots.thoughtbot.com 10 Sep '13, 7am

    georgebrock September 10, 2013 test-driven development patterns null object A Null Object is a drop in replacement for one of the other objects in your system that provides sensible defaults when the other object is unavailable. For example, I recently wrote about returning the path t...

  • Giant Robots Podcast Episode 65: No! Videos Private!

    robots.thoughtbot.com 09 Sep '13, 3pm

    giant robots smashing into other giant robots Written by thoughtbot Giant Robots Podcast Episode 65: No! Videos Private! September 9, 2013 podcast rails ruby On this episode Ben talks with Chris Savage and Brendan Schwartz about Wistia Episode Notes and Links Subscribe via iTunes Subs...

  • Test Rake Tasks Like a BOSS

    robots.thoughtbot.com 30 Aug '13, 12pm

    jdclayton October 26, 2011 rails rake rspec testing Testing Rake tasks is one of the most painful things I do as a Ruby developer. Even after extracting all the code out into a separate class (which helps a lot), I still want to make sure I test that the right classes got called corre...

  • Parallel gem installing using Bundler

    robots.thoughtbot.com 28 Aug '13, 1pm

    Parallel gem installing using Bundler sikachu August 28, 2013 ruby Bundler rubygems development Do you realize how much time you’ve spent running bundle install after cloning a new repository? No more sword fighting! Bundler 1.4.0 adds support for parallel installation . You can pass ...

  • ${VISUAL}ize the future

    robots.thoughtbot.com 23 Aug '13, 1pm

    August 23, 2013 lolconomy unix history env environment variable editor visual ed ex vi vim folklore Do you want to use mvim to edit your commit messages, SQL interactions, command-line prompts, and emails, but can’t seem to get it working? To understand why, and to understand the fix,...

  • Pong clone in JavaScript

    robots.thoughtbot.com 17 Aug '13, 5pm

    The ability to create interactive games in JavaScript is getting easier with the constant improvements to JavaScript engines and the ability for browsers to utilize the GPU. To demonstrate how easy it is to write games in JavaScript we’re going to write a pong clone.

  • Pong clone in JavaScript

    robots.thoughtbot.com 17 Aug '13, 1pm

    The ability to create interactive games in JavaScript is getting easier with the constant improvements to JavaScript engines and the ability for browsers to utilize the GPU. To demonstrate how easy it is to write games in JavaScript we’re going to write a pong clone.

  • Implementing Multi-Table Full Text Search with Postgres in Rails

    robots.thoughtbot.com 16 Aug '13, 6pm

    Easily searching across an application’s data is a pervasive need. If you are lucky, you can get away with simple sorting or searching on a single column, but it is more likely that you need full text search across multiple models, all from a single search field.

  • Renderable Null Objects

    robots.thoughtbot.com 15 Aug '13, 7am

    August 15, 2013 georgebrock null object refactoring rails We’ve talked about Null Objects before , and how they can remove unwanted conditionals from your code. I’d like to talk about extending those benefits into your Rails views. Setting the scene Recently I’ve been working on an ap...

  • Build Phase Episode 3: Create All The Objects!

    robots.thoughtbot.com 14 Aug '13, 2pm

    giant robots smashing into other giant robots Written by thoughtbot Build Phase Episode 3: Create All The Objects! August 14, 2013 ios learning This week on Build Phase Gordon and Mark discuss the best tools, resources and methods for new iOS developers. Episode Notes and Links Subscr...

  • Use RSpec.vim with tmux and Dispatch

    robots.thoughtbot.com 12 Aug '13, 1pm

    Use RSpec.vim with tmux and Dispatch August 12, 2013 calebjthompson vim rspec test driven development tmux open source (And Keep Your Screen Real Estate) As you may know, there are quite a few of us now working at thoughtbot. While we share a lot of the same opinions, we all work a li...

  • Giant Robots Episode 61: Having the Craic with Paul

    robots.thoughtbot.com 12 Aug '13, 12pm

    giant robots smashing into other giant robots Written by thoughtbot Giant Robots Episode 61: Having the Craic with Paul August 12, 2013 conferences In this episode Paul Campbell and Ben Orenstein talk about tito.io, funconf, and organizing conferences. Episode Notes and Links Subscrib...

  • Stockholm's meetups are back in session

    robots.thoughtbot.com 12 Aug '13, 9am

    Stockholm’s meetups are back in session August 12, 2013 lolconomy stockholm meetup community events Here in thoughtbot Stockholm we have our hand in some of the local meetups. We’ve used the summer to revamp them and we are about to start the autumn off with a bang! Sthlm Startup Meet...

  • git bisect

    robots.thoughtbot.com 09 Aug '13, 4pm

    git bisect is amazing. You don’t know what it is? Let me fill you in! git bisect is a tool that allows you to find an offending commit. Let’s say you’ve come across a bug in your codebase and you’re unsure of when it was introduced. If you can find a commit where the code works proper...

  • A new iOS workshop from thoughtbot

    robots.thoughtbot.com 09 Aug '13, 8am

    A new iOS workshop from thoughtbot August 9, 2013 cpytel ios thoughtbot training workshops Jack Nutting, a talented, veteran iOS developer, recently joined our team in Stockholm. Jack is the author of numerous books , including Beginning iOS 6 Development , and has been leading iOS wo...

  • Fast testing loop in tmux with vim-rspec and tslime

    robots.thoughtbot.com 08 Aug '13, 2pm

    Fast testing loop in tmux with vim-rspec and tslime August 8, 2013 joelq tmux vim vimrc TDD rspec tslime When I first started working at thoughtbot, I was impressed to see some of my colleagues sending the current spec in vim to a tmux pane with the press of a key. This makes for an v...

  • A Tmux Crash Course

    robots.thoughtbot.com 07 Aug '13, 6am

    January 18, 2011 jdclayton development tmux shell unix how to I’ve been using Tmux for about six months now and it has become just as essential to my workflow as vim. Pane and window management, copy-mode for navigating output, and session management make it a no-brainer for those who...

  • Running Specs From Vim

    robots.thoughtbot.com 05 Aug '13, 6pm

    August 5, 2013 dancroak vim rspec Test driven development thrives on a tight feedback loop. However, switching from the editor to the shell to manually run specs is inefficient. Tools such as autotest and guard run specs whenever a file gets saved. Although an improvement over a manua...

    Related:
    1. Running Specs From Vim rubyflow.com 05 Aug '13, 7pm
  • The Art of Vim: Screencast on Text Objects

    robots.thoughtbot.com 31 Jul '13, 7pm

    Hello Vim-warriors, we’ve added a new screencast to

  • How to Create Postgres Indexes Concurrently in ActiveRecord Migrations

    robots.thoughtbot.com 30 Jul '13, 12am

    July 29, 2013 dancroak postgres activerecord How to Create Postgres Indexes Concurrently in ActiveRecord Migrations By default, Postgres locks writes (but not reads) to a table while creating an index on it. That can result in unacceptable downtime during a production deploy. On a lar...

  • Episode 59: Nowhere to Hide

    robots.thoughtbot.com 29 Jul '13, 2pm

    July 29, 2013 software development programming hiring Episode 59: Nowhere to Hide In this episode, Ben Orenstein speaks with thoughtbot CTO Joe Ferris about the technical interview process at thoughtbot, and more. Episode Notes and Links Subscribe via iTunes Subscribe via RSS Direct D...

  • We are excited to announce thoughtbot Philadelphia.

    thoughtbot Philly

    robots.thoughtbot.com 23 Jul '13, 1pm

    July 23, 2013 kylehasmanypixels thoughtbot philly cheesesteaks design rails ios thoughtbot Philly It’s with great pleasure that I, Kyle Fiedler , can announce a thoughtbot presence in Philadelphia. I have recently relocated here from our Boston office. We expect that this location wil...

  • Episode 58: A Thousand Neckbeards

    robots.thoughtbot.com 22 Jul '13, 2pm

    July 22, 2013 haskell ruby programming software development Episode 58: A Thousand Neckbeards This week Ben Orenstein, Pat Brisbin, and Mike Burns talk about Haskell, Linux, functional and dynamic programming, Conway’s Game of Life, and much more. Episode Notes and Links Subscribe via...

  • Tmux Copy & Paste on OS X: A Better Future

    robots.thoughtbot.com 19 Jul '13, 5pm

    July 19, 2013 christoomey-tb tmux Tmux Copy & Paste on OS X: A Better Future Tmux recently updated to version 1.8 , and with the update came a new command that greatly simplifies integrating with the OS X clipboard. With prior versions of tmux, there wasn’t a straightforward method fo...

  • One-on-one Mentors now included in thoughtbot’s Learn Prime

    robots.thoughtbot.com 18 Jul '13, 8pm

    July 18, 2013 cpytel thoughtbot learn One-on-one Mentors now included in thoughtbot’s Learn Prime Today, we’re excited to announce a new addition to Prime: One-on-one mentoring . Since launching, Learn Prime has evolved from a simple subscription service of everything we teach into a ...

  • The Perils of Uniqueness Validations

    robots.thoughtbot.com 17 Jul '13, 1pm

    July 17, 2013 derekprior rails SQL The Perils of Uniqueness Validations Your Rails application probably makes use of uniqueness validations in several key places. This validation provides for a nice user experience when duplicate records are detected but as we will see in a moment, is...