How to Make an API for a Rails App
I've come across the same problem in my personal projects and also at work. You have an existing Rails app that has some authentication and authorization scheme to protect who has access to your controllers, but now you need to write an API that can access those controllers. How do you keep the same authentication routine for your API users?
Deploying into the Night
Yesterday was an emotional roller coaster of brutality and awesomeness, mixed with a good share of productivity. The day started off innoculously enough. I checked my incoming tickets, went through my email for tasks to do on my projects, scrummed with the team, and enjoyed a delicious steak lunch on the house...
Subversion for the Lazy
I've been asked about subversion enough times to justify writing this quick and dirty article to save me future time. Read this guide if you absolutely need to get subversion working ASAP. Otherwise I highly recommend going through the svn book for more background information and advanced usage.
Dump Test Data from Production to Development with yaml_db
For Money app, I ran into a problem with the charts drawing ugly x-axis when the datapoints were too close together. I didn't want to reproduce the problem locally because it would involve a lot of data entry. So I set out to look for some sensible solutions.
Building Webapp Menus
One feature we're releasing for this sprint is a quick access menu on every page for the common day-to-day actions used in Coupa. Previously, a user would either have to bookmark the common urls they used, or dig through the cluttered Administration page to find what they wanted. For our app, we needed something more expressive than a simple web navigation because there are simply too many actions for a user to take.