我想在我的rails应用程序中将report指令设置为默认指令
development:
adapter: mysql
database: osvdb
host: localhost
username: root
password: jeet
report:
adapter: mysql
database: report_db
host: localhost
username: root
password: jeet
答案 0 :(得分:0)
report: &defaults
adapter: mysql
database: osvdb
host: localhost
username: root
password: jeet
development:
<<: *defaults