Frederick Cheung wrote: > On May 17, 3:13�pm, Stephan Wehner <[email protected]> > wrote: >> Rails projects, each possibly having different migrations which are >> applied to different (mysql) databases. >> >> Opening a (mysql) prompt would require looking up the name of the >> database, and more -- which a script can do faster than me. >> > > Don't want to piss on anyone's parade but Rails comes with a script > that does that eg > > ruby script/dbconsole production
It looks to me that script/dbconsole doesn't hide the password for mysql and postgresql on all platforms -- whereas rdb_prompt takes care of that (for postgresql trivially by not supporting passwords). So I'll put a patch together. Stephan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

