Today, I’m feeling mostly recovered from my first ever RailsConf, so I thought I would take some time to reflect on what I learned there, and share it with you, my dear reader. So, here we go, in no particular order…
Read the rest of this post
No, I don't work in NYC, DC, or the valley, and I'm cool with that.
Today, I’m feeling mostly recovered from my first ever RailsConf, so I thought I would take some time to reflect on what I learned there, and share it with you, my dear reader. So, here we go, in no particular order…
Read the rest of this post
So, I conducted an introduction to Ruby on Rails workshop last night and just finished up a list of book recommendations for the attendees. I thought I’d share them here, in case anyone is looking for a few good starter books to learn Ruby on Rails. I went with 2 recommendations for Ruby, and 2 for Rails, because It’s really important to understand Ruby if you’re going to start hacking away at Rails. A deeper knowledge of Ruby helps make all the Rails “magic” more understandable.
Read the rest of this post
I’ve been hard at work trying to finish up Squeel before RailsConf (if you’re going, and you’d like to meet up, feel free to stalk me). Here’s what’s new since my last post:
Read the rest of this post
Good evening, Internet! I hope you had a wonderful and productive workday. Now, with those pleasantries out of the way, I’d like to point you in the direction of a little gem called attr_bucket that I am regretful for having written even as I type this blog post suggesting you go try it. That is because this gem, while tiny and unassuming, has tremendous potential for evil.
The “mobile web” may look more like the web we know and love as devices get more powerful, but there will always be a place for a bit of customization in the name of improved UX on mobile browsers. CSS media queries go a long way toward accomplishing this, but you may find yourself wanting to do more. Ask around or do some searches, and you’ll find the usual answer to supporting mobile devices in Rails involves adding a MIME alias for text/html named “iphone” or “mobile” with register_alias, then forcing a mobile request’s format to this MIME for use with respond_to. This can work, but it’s a huge pain in the neck, and I believe there’s a better way. Read on.
Read the rest of this post
With the recent announcement of the Facebook registration tool, there’s no doubt that you, the intrepid Rails developer, will be looking into it as a possible means of new user signup, either by choice or by client request. My preference has always been to limit an app’s dependence on Facebook as much as possible. I guess it’s a holdover from my hardcore OSS zealot days, or something — though I never had a hacker beard, I can’t help feeling there’s something inherently evil about Facebook (apart from their love affair with PHP ;)). Anyway, I recently implemented something very much like this feature using Devise and OmniAuth, so I thought I’d share.
Read the rest of this post