Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to use sql db or mysql db. Without defining it in the database.yml



How to use sql db or mysql db. Without defining it in the database.yml..

Answer / 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

More Ruby Interview Questions

difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?

1 Answers  


In how many ways you can compare Ruby string?

1 Answers  


What things we can define in the model?

1 Answers  


What does mri most commonly stand for?

1 Answers  


Tell me what is the command to create a migration?

1 Answers  


Can you list out the few features of ruby?

1 Answers  


Explain ruby ranges. What are the ways to define ranges?

1 Answers  


What is the pattern matching operator in ruby?

1 Answers  


what is Interpolation in Ruby?

1 Answers  


what is the difference between a gem and a plugin in Ruby?

1 Answers  


Please explain what is mvc and why do we use it?

1 Answers  


How to create a new time instance in Ruby?

1 Answers  


Categories