Posts by Fernando Kosh • 195 points
4 posts
-
0
votes2
answers177
viewsA: Failed to insert Gem mysql in Linux Manjaro
In Manjaro and any other Archlinux-based distribution, as the @Wagnerrodrigues comment, you need to install the package libmariadbclient with the command: pacman -S libmariadbclient Once done,…
-
1
votes1
answer32
viewsA: Issue on redirect of Edit and Delete pages in PHP
You have more than one problem from what I saw, but the ones you mentioned occur due to the generated link. Your system is generating the edit link like this:…
-
4
votes1
answer26
viewsA: Mongodb Insert Error
I believe the separation comma of the hash items is missing. Try it this way: > db.Channels.insert({ "ChannelCode" : "BT", "Name" : "Bartira", "Celphone" : "(11)971418418", "Endpoint" :…
mongodbanswered Fernando Kosh 195 -
0
votes1
answer34
viewsA: Search inside another Rails scaffold
Depends on how you want to look. The basic is: class RelatoriosEmprestimos < ApplicationController def index @emprestimos = Emprestimo.where(campo1: 'condicao1', campo2: 'condicao2') end end The…