aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/command_line.md
diff options
context:
space:
mode:
authorEugene Gilburg <eugene.gilburg@gmail.com>2014-10-23 19:51:53 -0700
committerZachary Scott <e@zzak.io>2014-10-24 13:09:05 -0700
commitdf1dda8b71023d1f76e9ee827e2aca6f8a5ec3c0 (patch)
tree0f7ab6679a0a03b61760dbe6d72979afa39036b0 /guides/source/command_line.md
parent85faea4b8320e728854838c6da97c9435de8869e (diff)
downloadrails-df1dda8b71023d1f76e9ee827e2aca6f8a5ec3c0.tar.gz
rails-df1dda8b71023d1f76e9ee827e2aca6f8a5ec3c0.tar.bz2
rails-df1dda8b71023d1f76e9ee827e2aca6f8a5ec3c0.zip
Improved try documentation [ci skip]
- better `if` example - Added chaining example to the try method description - Documented the `respond_to?` check to the try method description - Clearer wording to explain that argument error is raised on argument mismatch to responding method, rather than to non-responding method (which is handled without exception by `try`) - `.any?` is more precise than `! .blank?` - Don't need to use `try` on `children` as (for regular associations) they will always be a collection or array that responds to `first` - Fix typos/grammar
Diffstat (limited to 'guides/source/command_line.md')
0 files changed, 0 insertions, 0 deletions