September 2008
9 posts
Sep 29th
Rails f.submits
I’ve been using this sort of pattern for a while in my form partials. Because [Make Resourceful][m_r] provides a current_object method I usually pass this to form_for instead of a symbol matching the name of the instance variable. So I’ll have something like this - form_for current_object do |f| = f.label :name = f.text_field :name = f.submit f.object.new_record? ? 'Create' :...
Sep 27th
DIY Easier Unobtrusive JS with Rails
I’ve been using this on a couple of projects recently and figured instead of sleeping I’d polish it up and put it together a bit better than I had been.
Sep 26th
Daring Fireball: There's Nothing There →
Sep 18th
Celebration of the James
Well, we’ve just got back in from Canary Wharf. Being that James blog is between six to twelve month behind the present day I feel that it falls to me to document this occasion in timely manner. I am writing this in the still inebriated state upon the completion of this day. How it began Well sadly like many a day of the so called “working week”, the noble James had to be in...
Sep 8th
Sep 8th
Sep 8th
Cappuccino Web Framework →
I must come back to this later
Sep 5th
Sep 4th