Musings on RailsConf 2014

Posted by & filed under Development, News, Ruby on Rails.

This is a bit late, but I wanted to ramble for a bit on RailsConf 2014. I have a few main points that can be summarized as: TDD isn’t dead, but we’ve opened up a conversation about how useful it is. RailsConf is less and less about Rails each year and that’s ok. The Rails/Ruby… Read more »

jQuery data and JSON

Posted by & filed under Development, Javascript.

jQuery is picky about the JSON that is read from in HTML5 data elements. Of course, it’s not really jQuery that’s at fault, it’s simply that the JSON spec is a lot more strict than simple javascript. In javascript, I can define an object like this: Note the lack of quotes on the key names… Read more »

Community Calendar API

Posted by & filed under Development, Ruby on Rails, WordPress.

At work, we had a hackathon and developed some sample apps that make use of our new HoopaNow API. HooplaNow is a community calendar in Iowa’s Creative Corridor. These are still works in progress, but there is a Sinatra app called simply hooplanow_api_example for you Rubyists out there, and a wordpress plugin for those of… Read more »

New blog theme

Posted by & filed under News, WordPress.

It sometimes feels as if I change themes more often than I post. Anyway, I extend many thanks to 320press and bootswatch for the new look.

Learning git made me a better svn user

Posted by & filed under Development.

Before learning git, I rarely created branches in svn projects. Honestly, I don’t know why. It seemed like too much work, but really that was just because I didn’t do it. Now, whenever I start a new feature, I create a branch first. Sure, it creates a branch on the svn server that may or… Read more »

ActiveRecord: self.field vs field

Posted by & filed under Development, Ruby on Rails.

TL;DR version:“self.field” is only necessary when you are assigning a new value to a field. It always confused me why it seemed like sometimes using the field name from the database failed to work in model methods that I wrote. When the method was simple, things would work fine, but then something would happen and… Read more »

MTV Follow-up fail

Posted by & filed under WordPress.

A while back, I wrote about wordpress as a framework, and how I was going to follow up in a few weeks with some thoughts on MTV, which is a project that wants to make wordpress even more framework-like. Well, “a while back” at this point is actually almost an entire year, and I have… Read more »