scaffold macro problem

development:
adapter: mysql
encoding: utf8
database: MovieApp_development
pool: 5
username:root

the space (or rather lack of space) between username and root is significant

Fred

Frederick Cheung wrote:

Frederick Cheung wrote:

development:
adapter: mysql
encoding: utf8
database: MovieApp_development
pool: 5
username:root

the space (or rather lack of space) between username and root is
significant

Fred

Thanx Fred. But the thing is that database is created in DB using the
same database.yml and the same database.yml is not working for
scaffold.

I have seen, there is no issue with spaces.

I suggest you try again - I can replicate the exact error you get with
my apps by removing the space after the :
Those spaces are important in yaml, as is indentation
Fred