little change acording to new Ruby on Rails