aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/rails_application_templates.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-02-20 21:31:12 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-02-20 21:31:12 +0530
commit35cb9b7f333133ad2540450e0ecbfd5886a6a1dc (patch)
tree4103424e5188ad2788f9149323ce316d1c646d67 /railties/guides/source/rails_application_templates.textile
parent2a75c190d43dc6ea9d43216d324b7c0f38a1c65d (diff)
downloadrails-35cb9b7f333133ad2540450e0ecbfd5886a6a1dc.tar.gz
rails-35cb9b7f333133ad2540450e0ecbfd5886a6a1dc.tar.bz2
rails-35cb9b7f333133ad2540450e0ecbfd5886a6a1dc.zip
minor rephrasing
Diffstat (limited to 'railties/guides/source/rails_application_templates.textile')
-rw-r--r--railties/guides/source/rails_application_templates.textile4
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/guides/source/rails_application_templates.textile b/railties/guides/source/rails_application_templates.textile
index 8f87b4cd58..8e51f9e23b 100644
--- a/railties/guides/source/rails_application_templates.textile
+++ b/railties/guides/source/rails_application_templates.textile
@@ -198,7 +198,7 @@ route "root :to => 'person#index'"
h4. inside(dir)
-I have my edge rails lying at +~/commit-rails/rails+. So every time i have to manually symlink edge from my new app. But now :
+Enables you to run a command from the given directory. For example, if you have a copy of edge rails that you wish to symlink from your new apps, you can do this:
<ruby>
inside('vendor') do
@@ -206,8 +206,6 @@ inside('vendor') do
end
</ruby>
-So +inside()+ runs the command from the given directory.
-
h4. ask(question)
+ask()+ gives you a chance to get some feedback from the user and use it in your templates. Lets say you want your user to name the new shiny library you’re adding :