How to use sql db or mysql db. Without defining it in the database.yml
Answer Posted / Rajkumar Gupta
"To connect to a SQL (or MySQL) database without defining it in the database.yml, you can use ActiveRecord::Base.establish_connection method with the appropriate configuration details."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers