J
J
jFox2014-02-19 20:20:58
Ruby on Rails
jFox, 2014-02-19 20:20:58

Configs: database.yml => database.rb?

I completely rewrote database.yml in ruby ​​format on one of the projects and everything worked fine.
I create a new project, I try to write in the same style, but when I start the server I get an error that the database.yml file was not found.
Of course, he doesn't.
But what is the reason that database.rb is normally picked up on one project, but not on the other?
And how would you fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
himik, 2014-02-20
@himik

What are the rail and activerecord versions on the projects?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question