I’m pleased to announce that my newest video series, Rapid Lo-Dash is available for purchase through Packt Publishing. You can get all the details and view the free sample here: Rapid Lo-Dash If you’re a JavaScript developer, and you aren’t using Lo-Dash yet, you really need to check it out.
Today, I came across a puzzling issue with Rails 4.1, ActiveRecord, and Postgres when trying to select random records from a database table. To demonstrate, let’s use a simple social network API example. Clients will POST a list of user, and I’ll “match” them to someone in my database. Easy
For the past 3 years, I’ve worked primarily in Sublime Text, and it’s a fantastic application. I use it for Ruby, HTML, CSS, Javascript, CoffeeScript, and more. Today, Github open sourced their in-house developed text editor, Atom. A quick day working with Atom reveals that it may be a worthy
While looking at performance optimizations for a rails project, I noticed these lines in my debug console: ActsAsTaggableOn::Tag Load (0.5ms) SELECT “tags”.* FROM “tags” INNER JOIN “taggings” ON “tags”.”id” = “taggings”.”tag_id” WHERE “taggings”.”taggable_id” = $1 AND “taggings”.”taggable_type” = $2 AND (taggings.context = (‘tags’)) [[“taggable_id”, 103], [“taggable_type”, “Prediction”]] This makes sense,
As some readers might know, I’ve recently joined the team at Knoda. Based in Kansas City, Knoda provides people with a way to make their predictions, let their friends (and enemies) vote, and hold everyone accountable to the results. Sound like fun? Well, hurry over to the App Store and