Stephan Wehner wrote:
> Frederick Cheung wrote:
>> On May 17, 3:13�pm, Stephan Wehner <rails-mailing-l...@andreas-s.net>
>> 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.

The patch is attached to this new ticket

 https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2707

Please review.

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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to