aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-03-20 14:51:00 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-03-20 14:52:01 +0900
commite5d7b98fbd5f1903ac5e85a2bf85bb769789d570 (patch)
tree178f906d8033b18becca300046872e9ae71adf56 /activerecord/test/cases
parent7c6343078a566264ce6df6e531c9790ff2d2f432 (diff)
downloadrails-e5d7b98fbd5f1903ac5e85a2bf85bb769789d570.tar.gz
rails-e5d7b98fbd5f1903ac5e85a2bf85bb769789d570.tar.bz2
rails-e5d7b98fbd5f1903ac5e85a2bf85bb769789d570.zip
Make aliases of `database` option in generators work
Thor automatically adds `-` if aliases do not start with `-`. https://github.com/erikhuda/thor/blob/0879c1773d188902d54f95174f33961ac33111f8/lib/thor/parser/options.rb#L53 But Thor follows a convention of one-dash-one-letter options. So, even if `-` is added to `db`, it does not work. https://github.com/erikhuda/thor/blob/0879c1773d188902d54f95174f33961ac33111f8/lib/thor/parser/options.rb#L4 Follow up #34021.
Diffstat (limited to 'activerecord/test/cases')
0 files changed, 0 insertions, 0 deletions