Posts by Samuel Ribeiro • 11 points
4 posts
-
-1
votes1
answer830
viewsQ: How to export a Node class?
insira o código aquiVersion of Node 10.5.3 I am trying to export a class, to use it in another file. I have seen several examples on the internet and none of them helped me. Below is the class I…
node.jsasked Samuel Ribeiro 11 -
0
votes1
answer13
viewsQ: Error editing an Object(Activity) in Rails_admin
I enter rails_admin and it works normally with users, but when I edit an activity it gives this error. I’ve researched what poode is, but I didn’t find anything very clear. Soon below I’ll put my…
ruby-on-railsasked Samuel Ribeiro 11 -
0
votes1
answer89
viewsQ: RAILS Seed File Runs but Does Not Save Data in Database
I’m creating a file Seeds for popular my database, this file is responsible for popular Grupos(model :grupo) that wheel without problem and also popular TipoAtividade(model :tipo_atividade), who…
-
0
votes1
answer264
viewsQ: Save only the year in a date field on Postgres! RAILS
I have two fields called start_year and end_year, in which I want to save only the year that the user will select and save in the database. But when you save the form that is processed by RAILS, it…