1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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:
David Heinemeier Hansson 2006-08-31 23:38:03 +00:00
parent f9b3694870
commit e278b72bf3
3 changed files with 3 additions and 3 deletions

View file

@ -366,7 +366,7 @@ methods:
layout "weblog/layout"
def index
@posts = Post.find_all
@posts = Post.find(:all)
end
def display

View file

@ -24,7 +24,7 @@ module ActionController
# end
#
# def list
# @entries = Entry.find_all
# @entries = Entry.find(:all)
# render_scaffold "list"
# end
#

View file

@ -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