Fixed MissingValidated error in models pin.rb file