Jump to content

Sophia09le

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Comum

About Sophia09le

Informações Pessoais

  • Sexo
    Feminino
  • Localização
    United State

Contato

  • Site Pessoal
    https://spacebarcounter.org/settime
  1. Sophia09le

    General Disscussion

    Report post Posted September 4, 2017 olá pessoal, estou com um problema, na minha maquina virtual, pois quando levanto a aplicação, não sobe para a web, com o localhost:3000. e ele está criando um erro gigantesco, e saindo quando dou o comando rails s -b 0.0.0.0 no meu terminal. nesse caso estou usando o "foreman start". vagrant@precise32:/vagrant/escamboapp$ foreman start 18:11:26 web.1 | started with pid 7947 18:11:57 web.1 | /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.5/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `devise' for Install (call 'Install.connection' to establish a connection):Class (NoMethodError) 18:11:57 web.1 | from /vagrant/escamboapp/app/models/install.rb:4:in `<class:Install>' 18:11:57 web.1 | from /vagrant/escamboapp/app/models/install.rb:1:in `<top (required)>' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:457:in `load' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:457:in `block in load_file' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:647:in `new_constants_in' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:456:in `load_file' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:354:in `require_or_load' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:494:in `load_missing_constant' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:184:in `const_missing' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:261:in `const_get' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:261:in `block in constantize' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:259:in `each' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:259:in `inject' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:259:in `constantize' 18:11:57 web.1 | from /home/vagrant/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:566:in `get' space bar clicker
  2. Sophia09le

    General Discussion

    Boa noite devs.Poderiam me ajudar ?Estou querendo fazer o seguinte em um formulário PHP...O usuário deve cadastrar a sua data e horário do uso na churrasqueira e quando chegar nesta data e no horário final ele apaga os dados do cadastro desta reserva.Como posso fazer isto com PHP ? space bar counter
  3. Sophia09le

    Paython

    <form method="GET" action="" onsubmit="return funcaoExemplo(this)"> spacebar counter <input type="text" name="caixa_de_texto" placeholder="Digite algo se quiser" /> <select name="caixa_de_selecao"> <option value="">Selecione se quiser</option> <option value="opção 1">Primeira opção</option> <option value="opção 2">Segunda opção</option> </select> <button type="submit">Enviar formulário por GET</button> </form> <script> const URL_DESTINO = 'https://endereco/arquivo.php'; function funcaoExemplo(formulario) { var parametros = '?'; for (var i = 0; i < formulario.elements.length; i++) { if (formulario.elements[i].value != '') { parametros += (parametros.length !== 1 ? '&' : '') + formulario.elements[i].name + '=' + codificarURL(formulario.elements[i].value); } } if (parametros.length > 1) { window.location.href = URL_DESTINO + parametros; } return (false); } function codificarURL(str) { return (encodeURIComponent(str).replace(/['()]/g, escape).replace(/\*/g, '%2A').replace(/%(?:7C|60|5E)/g, unescape)); } </script>
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.