diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-31 23:38:03 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-31 23:38:03 +0000 |
commit | e278b72bf3238353906a6cb928410aaf712556f4 (patch) | |
tree | 85dbb9c80616f58d374f79194cf2fd414e681697 | |
parent | f9b369487046020bcdb92a3985270c9fb9943382 (diff) | |
download | rails-e278b72bf3238353906a6cb928410aaf712556f4.tar.gz rails-e278b72bf3238353906a6cb928410aaf712556f4.tar.bz2 rails-e278b72bf3238353906a6cb928410aaf712556f4.zip |
Fixed a few find_alls
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-x | actionpack/README | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/scaffolding.rb | 2 | ||||
-rw-r--r-- | 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 |