fixed the version of ruby and rails
database initialize
first to params to change the model url
using slug works