re-writing to apply to rails 3
removed useless page