From e278b72bf3238353906a6cb928410aaf712556f4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 31 Aug 2006 23:38:03 +0000 Subject: [PATCH] Fixed a few find_alls git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/README | 2 +- actionpack/lib/action_controller/scaffolding.rb | 2 +- railties/README | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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