Logo

matt dillon

  • Archive
  • RSS
  • Ask me anything

Dreaming Ruby Code

Friday morning about 5am, after a late night of coding, I woke up dreaming ruby. Well, that’s a first. The good news is that my dream actually helped me fix my code (that’s another first).

So, what was the issue? A multi-step form which is saved immediately after the first step. 

What was the solution? Initially, I tried out ryanb’s multi-step form (no saving after the first step), but that wasn’t what I was after. I turns out there’s a nice little gem  - gem “stepper”. It adds a current_step field to the table you’re working with, but I can live with that. 

All good!

  • 3 months ago
  • Permalink
  • Share
    Tweet
← Previous • Next →

matt dillon

About

User interface designer, footballer, photographer, letterpress printer, hacker of code, (bad) piano player

Me, Elsewhere

  • @electrik on Twitter
  • mattdillon on Vimeo
  • matt_dillon on Flickr
  • electrik on Soundcloud
  • My Skype Info
  • Linkedin Profile
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr