aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-01-06 03:24:34 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-01-06 03:24:34 +0530
commit75bfb4761c21a8f97f6c1780855f811adcc4c1c8 (patch)
tree68975913798f28ff82f6ff11b938822f8b81a1a2 /railties
parent1877faa7ac2053628b63a665ab822e18f2939a83 (diff)
downloadrails-75bfb4761c21a8f97f6c1780855f811adcc4c1c8.tar.gz
rails-75bfb4761c21a8f97f6c1780855f811adcc4c1c8.tar.bz2
rails-75bfb4761c21a8f97f6c1780855f811adcc4c1c8.zip
fixes rubycentral url and a minor AR change
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/README b/railties/lib/rails/generators/rails/app/templates/README
index fe7013d52d..9f0f1d0e38 100644
--- a/railties/lib/rails/generators/rails/app/templates/README
+++ b/railties/lib/rails/generators/rails/app/templates/README
@@ -91,7 +91,7 @@ mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
class WeblogController < ActionController::Base
def index
- @posts = Post.find(:all)
+ @posts = Post.all
debugger
end
end
@@ -139,7 +139,7 @@ To reload your controllers and models after launching the console run
<tt>reload!</tt>
More information about irb can be found at:
-link:http://www.rubycentral.com/pickaxe/irb.html
+link:http://www.rubycentral.org/pickaxe/irb.html
== dbconsole