Update nutrition_fact.rb

make it work with rails 3