On 27 Jan 2009, at 15:10, Basma Basma wrote:

>
> Frederick Cheung wrote:
>> On 27 Jan 2009, at 14:48, Basma Basma wrote:
>>
>>>
>>> thanks Fred for replying.
>>> but what kind of errors?
>>> I wrote in database.yml
>>>
>> According to the error message there's a line with timeout: 5000 on  
>> it
>> Also indentation in yaml is significant.
>>
>> Fred
>
>
> yes there was a line with timeout: 5000
> then I remove it , to see if the error from it or not!
> and still same error!
>
>
> but what do you mean about "Also indentation in yaml is significant"?
> should be without indentation?

That means that what you pasted:

development:
adapter: mysql
database: web
host: localhost
username: root
password:

is very different from

development:
   adapter: mysql
   database: web
   host: localhost
   username: root
   password:

Also have all three environments set to use the same database is a  
very bad thing (unless you want all of them to get wiped everytime you  
run the unit tests).

Fred
>
>
> thanks..
> -- 
> 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