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: rails, routing |
No Comments »
Thursday, November 20th, 2008
RubyFu is a project I’ve been working on, along with Phil Jeffs, for a couple of weeks now. We’ve got big plans so keep your eyes peeled.
What is RubyFu?
RubyFu is a community driven ruby news site. Users can submit their news stories, comment on other stories and vote. If a news story receives a vote [...]
Posted in Ruby | Tags: rubyfu |
3 Comments »
Saturday, November 15th, 2008
Over the last few months I’ve realised that the speed at which I develop new projects is a lot quicker than it used to be. So I thought I’d share some of the things I’ve learned and also some quite obvious things (to me at least).
Use a Base Application
I’m obviously going to be horrifically biased [...]
Posted in Ruby on Rails | Tags: Bort, Forms, Gems, Plugins, Ruby on Rails |
26 Comments »