how to integrate svn with rails

Hi everyone,

I am a newbie on rails. I tried to use svn to control my code version. However, I found the following problems:

When I typed in "ruby script/generate scaffold product", the added files were not applied in svn. The same problem occurred when I deleted some files by typing in "ruby script/destroy". In this case, the removed file were not applied in svn.

How to fix this problem?

thanks in advance, xiahong

Files aren't automatically added or deleted in svn. You have to explicitly perform an "svn add filename" or "svn delete filename".

is there any easy way to do this? For example, if i type in “ruby script/destroy model user”, i have to do “svn delete filename” for multiple files.