The blog has moved to http://jessehouse.com/ ... Many google searches point here so I am leaving it operational, but there will be no new posts.

Tuesday, December 30, 2008

Dilbert Share Point Web Part

I have a love hate relationship with Microsoft Share Point. It has really good integration with Office products but also has a lot of irritating 'features'. Anyhow I knew there had to be a web part out there to get the latest Dilbert comic strip and after a quick Google search I found it!

http://www.nogeekleftbehind.com/2007/11/21/download-daily-dilbert-web-part-for-sharepoint/

no share point portal is complete without it!

Saturday, December 6, 2008

Rails 2.1 and 2.2 documentation

This post is for personal reference, I keep losing track of the url to this great resource. Ruby on Rails guides at http://guides.rails.info/ I think this site launched when rails 2.1 came out, it is still a work in progress but is an extremely valuable resource covering everything from 'getting started', active record associations, security, debugging, the new 2.2 Rails Internationalization API and more.

Ruby on Rails guides at http://guides.rails.info/

Saturday, November 1, 2008

Calling rake tasks from another rake task

This turns out to be pretty straight forward, but was not obvious

Rake::Task['task_name'].execute

A rake task to rebuild the development database
desc 'drop, create and rebuild development db'
task(:rebuild_development_db) do
  puts "drop the db"
  Rake::Task['db:drop'].execute 
  puts "create the db"
  Rake::Task['db:create'].execute
  puts "run the migrations"
  Rake::Task['db:migrate'].execute
  # do other stuff...
end

Resources

Thursday, October 23, 2008

Obama for president

Obama for president, yeah I think this guy should be president



http://www.youtube.com/watch?v=_9OhVMHIuO4

Sunday, October 19, 2008

Assembla to start charging for all private services

well I guess it had to happen sooner or later - Assembla to start charging for all private services

they do offer a great service and the fact that it has been free up until now has been really great!
I can understand why they need to start charging and it still seems very reasonable,
but it would be nicer if it was based purely on disk space instead of per project

read more here

Saturday, October 18, 2008

ActionView::TemplateError uninitialized constant

ActionView::TemplateError (uninitialized constant ActionView::Base::CompiledTemplates::Literals) on line #10 of ...

I just made a silly mistake which was generating this error; I have a Literals class in my Ruby on Rails application that has some strings stored as constants, everything was working great until I put this code on a server (Linux) didn't have any issues on the mac or windows machines before deploying

turned out to be so simple...
I originally named the file Literals.rb which defined the class Literals

the fix: rename Literals.rb to literals.rb

- doh!