Changed paramaters by settings
Fixed test errors
rails destroy scaffold parameter
Fixed foreign_keys
Improved settings
Improved setting validates
Merge branch 'settings'