Posts Tagged ‘Ruby on Rails’

Selection Groups in Rails made less cumbersome

Tuesday, September 1st, 2009 by Jesper Rønn-Jensen

I made this addition today after (once again) struggling with option groups for a nested Rails model. My solution: create a new tag for FormOptionsHelper: grouped_select http://gist.github.com/179075

Shorthand to clean up installed Rubygems (but don’t cleanup Rails)

Friday, May 29th, 2009 by Jesper Rønn-Jensen

I trimmed my installed Rubygems on my local development machine. The command “sudo gem cleanup” is just for that. Only problem: What about my older Rails apps that require a specific version of Rails, ActiveRecord, etc.? My solution: gem list –no-versions | grep -v “^active” | grep -v “^action” | grep -v “^rails$” | xargs […]

HTML Guide Textmate Snippets Open Sourced

Wednesday, February 25th, 2009 by Jesper Rønn-Jensen

One year ago I published “Design Guide or HTML Markup Guide” with link to the HTML guide we did for the biggest Danish business internet portal. The HTML guide is a really useful tool for every public authority that must deliver applications for the portal. As a help for my own work back then, I […]