Site Search
181–190 of 193 results for ruby on rails
-
Around "Hello World" in 30 Days
June 2, 2010 - I’ll say this up front: I love my job. I love the web. I love Rails. And I love working here at Viget. But lately, I’ve gone through periods where web development feels a bit stale. Hugh Macleod has a great post called Beware of Turning Hobbies into Jobs that sheds a bit of…
-
Anatomy of a Rails Rumble Project
October 21, 2010 - Last weekend, two teams of Viget people (Hounds of Gore and Chewie & Han) competed in the 2010 Rails Rumble, and we all came out richer for it. My team built GitWrite and I wanted to share our experience. The new jazz We've been using Rails 3 at Viget for some projects and…
-
Convert a Ruby Method to a Lambda
April 26, 2011 - Last week I tweeted: Convert a method to a lambda in Ruby: lambda(&method(:events_path)). OR JUST USE JAVASCRIPT. It might not be clear what I was talking about or why it would be useful, so allow me to elaborate. Say you’ve got the following bit of Javascript: var…
-
A Better Way to Add a ‘selected’ Class to Links in Rails
August 8, 2012 - Adding a "selected" CSS class to navigation items (usually when they match the current page or section of a site) is a required step in almost every build-out. For some reason, it always seems to be a pain. There are plenty of ways to go about this, but most of them tend to be…
-
My Boulder Summer at Viget
August 12, 2013 - Starting at Viget When Viget notified me that I would be a summer 2013 intern at its Boulder, Colorado office, I was incredibly excited. I was also plenty nervous since I had never lived more than two hours from home before. It didn't even seem real to me until I was…
-
How to Implement an Enumerated Type in Rails
May 21, 2014 - Have you ever wanted to use an enumerated type in your Rails app? After years of feature requests, Rails 4.1 finally added them: a simple implementation that maps strings to integers. But what if you need something different?On a recent project, I implemented a survey,…
-
A Project Management Approach to Hiring
June 12, 2014 - Having just started as the team’s newest Project Manager, I’ve been reflecting a bit on the hiring process here at Viget. After six years at my previous company and being intimately involved in hiring, it had been a while since I went through the process as an interviewee. The…
-
Creating Seed Files from Your Database with Sprig-Reap
June 18, 2014 - Recently, Lawson and Ryan launched Sprig, a gem for seeding Rails applications. Sprig seed files are easy to write, but they do take some time -- time which you may not have enough of. We wanted to generate seed files from records already in the database, and we received…
-
Making the Most of Your Internship
August 15, 2014 - As the 2014 summer internship program at Viget winds down, and we get close to saying our sad goodbyes, I’ve been focusing on how the past 10 weeks have gone. I am so grateful for how much I’ve learned and been able to do here. For some of my classmates, a…
-
Generate Unique Identifiers With Postgres Sequences
April 27, 2016 - Need a unique identifier? Postgres sequences have you covered.