Not giving money to Microsoft
January 22, 2010
Filed under Testing, Web Design
Tags: browser testing, browsers, Internet Explorer, SDRuby, Web Design
Last week I had a great email conversation with the San Diego Ruby Users Group (SDRuby). I told them “I’m on a mac. I have parallels, but no windows license. I need to test stuff in IE and don’t want to buy Windows. I have absolutely no other reason to use Windows than occasionally testing stuff on IE, thus the full cost of a windows 7 license just isn’t justifiable.”
The response from the group was incredible. It was obvious that this is a pain point for many of us who have turned our backs on Ballmer.
I got seven suggestions. Here’s a breakdown of each followed by my conclusions: (Read More)
Hang tight! Things are coming soon…
We haven’t written much in the past few weeks for two reasons:
- The holidays. So much eating so little time.
- Mike and I have been working our asses off on two things that will be announced very shortly. One is an open source project for the Rails community and the other is a for profit business for surf travel. Both will see the light of day before the end of January!
Hang tight….
–Jon
Chosing the Right Design Bandwagon
I nearly made a fatal web design mistake. It could have cost my company it’s future. Why? I almost hopped on the wrong design bandwagon and created a website that wouldn’t have resonated with my users.
Getting the right HTML for Rails Nested Model Forms
November 10, 2009
Filed under Rails problem solving
Tags: delete, hidden input, nested model forms, nested models, rails, ruby
Last week I had trouble getting Rails’s Nested Model Forms feature to work for me in exactly the way I wanted. Two things were working against me: 1) No documentation that shows the complete process for nested models from ERB to HTML, to HTTP parameters, to controller code. and 2) Blogs and suggestions I came up with were close, but didn’t work.
Since I was using javascript rather than ERB to create the hidden input tags in the HTML, I needed to know exactly how to construct my tags to tell rails what to do with my nested models. (Read More)
dynamic has_many association (for lack of a better name)
October 30, 2009
Filed under Rails problem solving
Tags: :has_many, associations, conditions, lazy load, model
Yesterday I had one of those moments in Rails where I knew there must be a really good way to do something, there had to be. But all I could think of was the brute force way.
Technically speaking, I wanted to create collections of child objects on a parent object where the membership of each collection depended on whether the parent and the child shared an attribute in common.
In simpler terms, imagine you have a group blog. Each post in the blog is written by one of several authors. A Post belongs to an Author. (Read More)