Skip to content

Commit

Permalink
minor rephrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev authored and bowsersenior committed Feb 21, 2011
1 parent fab5fe7 commit c86cdea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions railties/guides/source/rails_application_templates.textile
Expand Up @@ -198,16 +198,14 @@ 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
run "ln -s ~/commit-rails/rails rails"
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 :
Expand Down

0 comments on commit c86cdea

Please sign in to comment.