Peter Vandenabeele wrote in post #1042334: > On Tue, Jan 24, 2012 at 6:07 PM, David Ekdahl <[email protected]> > wrote: > >> >> But why... When I run mysql -h remote.host.local -u user -p form the >> > => {"development"=>{"adapter"=>"postgresql", "encoding"=>"unicode", >> >> What does it do? >> > > $ irb > 1.9.3p0 :001 > require 'yaml'; > YAML::load(File.open('config/database.yml')) > > And check the output yourself (no need to copy, may contain passwords > etc.). > > It parses the database.yml file (which is obviously a YAML file). If you > have > formatting problems in that file, it may be visible in the result. > > Peter I'm unsure what to do with this. As stated I am not a ruby programmer. I have never worked with Ruby ever.
Could you please give me a little more information on what to do, or at least point me in a direction and I will try to figure it out myself. Should I or should I not type this in my database.yml file? David. -- 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.

