Posts Tagged ‘rails’
Wednesday, April 28th, 2010 by Jesper Rønn-Jensen
Grabbing data from Restful webservices has never been easier. I use this code in the Rails /db/seeds.rb file to grab data from the Danish webservice with addresses, municipalities, regions, etc. I decided to import the data into a local database to ensure it could work offline. Code from /db/seeds.rb file: Now I can access municipalities […]
Tags: bootstrap, Code, rails, ruby
Posted in Code, Ruby on Rails | 1 Comment »
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
Tags: Code, rails, Ruby on Rails, Web Development
Posted in Code, Ruby on Rails | 1 Comment »
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 […]
Tags: rails, Ruby on Rails, Rubygems
Posted in Ruby on Rails, Web Development | Comments Off on Shorthand to clean up installed Rubygems (but don’t cleanup Rails)
Friday, November 7th, 2008 by Jesper Rønn-Jensen
If you’re using Resource Controller for Ruby on Rails, you may want to look atthe plugin I just created. From the readme file: ResouceControllerRespondTo ========================== Extends ResourceController plugin for Rails to make it respond_to .xml and .json formats Based on code by Florent Piteau and Joe Fiorini… Jesper merely provided the glue and packed as […]
Tags: Code, plugin, rails
Posted in Code, Ruby on Rails | 2 Comments »
Thursday, June 1st, 2006 by Jesper Rønn-Jensen
Today is the time for my ten minute presentation at Reboot. I have ten minutes between 16.45 and 17.30 to give my talk. Topic: Prototype driven development with Ruby on Rails, and demo of the application we made at Capgemini with the Danish public Agency of Companies and Commerce. Presentation (Powerpoint format) for download here: […]
Tags: Presentation, Productivity, Prototyping, rails, Speaking
Posted in Best of Justaddwater, Events/seminars, Presentation, Railsconf, Ruby on Rails, Speaking | 11 Comments »