May 1, 2013 calebjthompson strong_parameters ruby rails strong_parameters are good and you should feel good Besides moving attribute whitelisting to the controller rather than the model, Rails 4’s move to Strong Parameters over attr_accessible provides great documentation about the da...

Related:

<%= t(".letter-new-copy", :default =&gt; %{ <p><strong>Less frustration, more joy: there's a better way to build software.</strong></p> <p>You know that your software planning tools aren't perfect. It's not clear what to do next. Things gets lost in the shuffle when you copy stuff aro...

Although these libraries are fairly simple to install and use, the screencasts below might make the transition into taking advantage of the Bourbon and Neat mixins even smoother. Sometimes you just want to start the car and drive without having to go through every part of the motor, s...

In this session we’ll go off the Rails and take a look at what our Pythonista cousins are doing with Django. I’ll start with some live coding: recreating DHH’s infamous 15 minute blog demo using Django and explaining the building blocks of a Django app along the way. I’ll then take th...

The first line should always be 50 characters or less and that it should be followed by a blank line. Vim ships with syntax, indent, and filetype plugins for Git commits which can help here. Add this line to your .vimrc to add spell checking and automatic wrapping at the recommended 7...

What are database indexes? If you’re building web apps powered by a relational database, you should know. A database index is a data structure in the database which improves the speed of operations (typically row lookups) on a database table, or across tables. Think of it like the ind...

April 29, 2013 programming healthy Episode 46: We don't have a monopoly on being unhealthy Ben Orenstein is joined by Joe Kutner, programmer and author of ‘The Healthy Programmer’. Ben and Joe discuss how the demands of a development job lead to unhealthy habits, and ways to address t...

The first line should always be 50 characters or less and that it should be followed by a blank line. Vim ships with syntax, indent, and filetype plugins for Git commits which can help here. Add this line to your .vimrc to add spell checking and automatic wrapping at the recommended 7...

April 27, 2013 calebjthompson git gh-pages github orphans It’s for the orphans! Too often, I come across GitHub Pages branches (gh-pages ) branches that are simply forks from the master branch of the repository. This is not ideal. There are several problems with this strategy: Unless ...

The first line should always be 50 characters or less and that it should be followed by a blank line. Vim ships with syntax, indent, and filetype plugins for Git commits which can help here. Add this line to your .vimrc to add spell checking and automatic wrapping at the recommended 7...

April 25, 2013 hrward redis autocompletion search Redis partial word match — you (auto)complete me We can use partial word matching to rapidly search strings of text such as Names, Cities, States, etc. We can do this by indexing strings into Redis sets based on partial matches of the ...

Related:

September 29, 2011 gabebw vim self-vimprovement Movin’ and Shakin’ Time for some self-VIMprovement! As you might know, the thoughtbot crew uses Vim a lot (one , two , and three ). I sit next to Ben and Mike , two great Vim users, and I learned a lot just from being around them. I’ve s...

Episode 45: Tiny Robots Cuddling with other Tiny Robots In this week’s podcast we try something a little different. Joe Ferris, Matt Jankowski, Ben Orenstein, and Chad Pytel get together and have a little fun, in what we’re calling “Tiny Robots cuddling with other Tiny Robots”. We’d l...

January 9, 2013 dancroak dns unix http Foreman as process manager, Pow as DNS server and HTTP proxy Web app development/production parity can be improved by defining process types in a manifest named Procfile such as this one for a Rails app: web: bundle exec rails server thin -p $POR...