Fixed a few find_alls
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
f9b3694870
commit
e278b72bf3
@ -366,7 +366,7 @@ methods:
|
||||
layout "weblog/layout"
|
||||
|
||||
def index
|
||||
@posts = Post.find_all
|
||||
@posts = Post.find(:all)
|
||||
end
|
||||
|
||||
def display
|
||||
|
@ -24,7 +24,7 @@ def self.included(base)
|
||||
# end
|
||||
#
|
||||
# def list
|
||||
# @entries = Entry.find_all
|
||||
# @entries = Entry.find(:all)
|
||||
# render_scaffold "list"
|
||||
# end
|
||||
#
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user