Archive for December, 2008

Routes Gotcha

Something peculiar happened when I was doing something trivial.

If you accidently named your restful route the following

resource :roles instead of resources :roles

When you point your app to /roles it won’t go to your index controller action but it will instead call your show action.

git svn can't locate SVN/Core.pm

I had a problem when running git svn command on my ubuntu.

Can’t locate SVN/Core.pm in @INC

It turns out all I had to do is install libsvn-perl.