开发者

How can i set custom directive in database.yml as default directive

I want to set report directive as default directive in my rails 开发者_如何学Pythonapplication

development:
  adapter: mysql
  database: osvdb
  host: localhost
  username: root
  password: jeet
report:
  adapter: mysql
  database: report_db
  host: localhost
  username: root 
  password: jeet


report: &defaults
  adapter: mysql
  database: osvdb
  host: localhost
  username: root
  password: jeet

development:
  <<: *defaults
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜