some small fixes. project relaunch.

- rails best practice
- new rake task init_polymorfic