Rails db version, params not being permitted