I am available for freelance work! Click here to email me.
« Previous Page« Previous Entries Next Entries »Next Page »

Escaping Params Containing Periods

Saturday, November 22nd, 2008

Just a quick one. Say you have a route like the following:
map.resources :users
And you’re using email addresses to look up users like:
/users/jim@somewhere.com
You’re going to run into an error along the lines of:
Missing template users/show.com.erb in view path blah/app/views
Which obviously isn’t what you want. To fix this, change your route to the following:
map.resources :users, :requirements => [...]

Posted in Ruby on Rails | Tags: , | Comments

Getting the Dimensions of a Flash (SWF) File

Wednesday, November 12th, 2008

This is a just a quick post that will hopefully save some people a hell of a lot of time.
If you’re trying to get the width and height of a flash file, a banner for example, then you can use the ImageSpec library by Brandon Anderson.
You can checkout the code with the following:
svn checkout http://ruby-imagespec.googlecode.com/svn/trunk/ [...]

Posted in Ruby on Rails | Tags: , , | Comments

Bort v0.2 Released

Wednesday, September 17th, 2008

More updates to Bort from myself and the rest of the Fudge Studios chaps this week, due to response from the public, that’s you.
Updated to Rails 2.1.1
I’m sure this doesn’t require much of an explanation. Bort has been updated to Rails 2.1.1. Word.
Role Requirement
Quite a few people asked for roles in Bort so now you’ve [...]

Posted in Ruby on Rails | Tags: , | Comments

« Previous Page« Previous Entries Next Entries »Next Page »

Purify - Issue Tracker

Jim Neath is a 26 year old Freelance Ruby on Rails developer from Manchester, UK.

Recommend Me

Categories