freaky fashion
2006-Mar-30 06:54 UTC
[Rails] help : No database specified. Missing argument: database.
Hi, I''m new to Ruby programming. I''m wnt thru the example by curt in onlamp and was stuck up in the midst of configuration. I''m getting the "No database specified. Missing argument: database." error when i tried creating a table recipe in cookbook db . My database.yml contains the following entries Development: adapter:mysql host:127.0.0.1 username:root password: database:cookbook Could you pls help me out to over come this issue. thnx joe --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060330/fd36cd70/attachment.html
sainaba sainu
2006-Mar-30 09:42 UTC
[Rails] Re: help : No database specified. Missing argument: database
freaky fashion wrote:> Hi, > I''m new to Ruby programming. I''m wnt thru the example by curt in > onlamp and was stuck up in the midst of configuration. > > I''m getting the "No database specified. Missing argument: database." > error when i tried creating a table recipe in cookbook db . > > My database.yml contains the following entries > > Development: > adapter:mysql > host:127.0.0.1 > username:root > password: > database:cookbook > > Could you pls help me out to over come this issue. > > > thnx > joeHi Change ur database.yml as Development: adapter: mysql host: 127.0.0.1 username: root password: database: cookbook Regards.. -- Posted via http://www.ruby-forum.com/.
Craig White
2006-Mar-30 12:46 UTC
[Rails] help : No database specified. Missing argument: database.
On Wed, 2006-03-29 at 22:54 -0800, freaky fashion wrote:> Hi, > I''m new to Ruby programming. I''m wnt thru the example by curt in > onlamp and was stuck up in the midst of configuration. > > I''m getting the "No database specified. Missing argument: database." > error when i tried creating a table recipe in cookbook db . > > My database.yml contains the following entries > > Development: > adapter:mysql > host:127.0.0.1 > username:root > password: > database:cookbook > > Could you pls help me out to over come this issue.---- you need a space between the : and the name database: cookbook username: root etc. Craig