diff --git a/actionpack/README b/actionpack/README index 88bcab8461..f37507f35f 100755 --- a/actionpack/README +++ b/actionpack/README @@ -366,7 +366,7 @@ methods: layout "weblog/layout" def index - @posts = Post.find_all + @posts = Post.find(:all) end def display diff --git a/actionpack/lib/action_controller/scaffolding.rb b/actionpack/lib/action_controller/scaffolding.rb index 86242aa723..21755365e6 100644 --- a/actionpack/lib/action_controller/scaffolding.rb +++ b/actionpack/lib/action_controller/scaffolding.rb @@ -24,7 +24,7 @@ module ActionController # end # # def list - # @entries = Entry.find_all + # @entries = Entry.find(:all) # render_scaffold "list" # end # diff --git a/railties/README b/railties/README index 7d8965e6bd..916b21e6f5 100644 --- a/railties/README +++ b/railties/README @@ -90,7 +90,7 @@ and change the model, AND then resume execution! Example: class WeblogController < ActionController::Base def index - @posts = Post.find_all + @posts = Post.find(:all) breakpoint "Breaking out from the list" end end