Get in touch to talk startups and web apps!

Best bet is to email me or ping me on Linkedin.

Posts tagged: rake

Generate Routes in Rails 3 Rake Tasks

In order to create a new admin record, I added a rake task to my rails project. The task prompts the user for the credentials of the new user and creates the admin in the database. Since I don’t have a link on the page for the admin login, I wanted to remind the user how to access the login screen. By default, rake tasks don’t load the url_helper module, so you need to include it in your task.

In Rails 3, add the module as indicated in the gist below.

A short bit on me…

First and foremost, I am a husband to the most incredible woman alive, a father of four amazing children and in general, I love being alive.

After that, I am a passionate Ruby on Rails developer, a {biking|climbing|hiking|swimming} enthusiast, a paleo chef (ahem…in my own kitchen), an avid reader, and a huge fan of tech startups.

My current role is software engineering manager at OveractDev Technology Partners in St. George, UT. We build custom web applications with pride and craftsmanship.

On Approaches and Manifestos

A list of several approaches and manifestos that I try to practice. Know of another one that I would be interested in? Send me a link!

Git Workflow and this one, too.

Getting Things Done

It’s All in { Jira | Tracker | Rally | etc }…Anywhere but Email!

five.sentenc.es

Agile Manifesto

Software Craftsmanship Manifesto

Today is victory over yourself of yesterday; tomorrow is your victory over lesser men. Next, in order to beat more skillful men, train, not allowing your heart to be swayed along a side-track. Even if you kill an enemy, if it is not based on what you have learned it is not the true Way. — Musashi Miyamoto, The Book of Five Rings