Rails 3 in action book: some files are not generated as written in the book

I'm reading "Rails 3 in action", chapter 3, p. 56.

It is said that the Cucumber skeleton generator

rails generate cucumber:install

has to also generate the definition for the first step of the Scenario
"Given I am on the homepage" in the file
"features/step_definitions/web_steps.rb"

# file: features/step_definitions/web_steps.rb
Given /^(?:|I )am on (.+)$/ do |page_name|
   visit path_to(page_name)
end

But it doesn't. Also it doesn't generate module NavigationHelpers along
with the "features/support/paths.rb" file.

Why does it happen? Is it just a deprecated behavior and now cucumber
doesn't generate those files?

Yes.

http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off