Posts by Diego Souza • 33 points
8 posts
-
0
votes1
answer143
viewsQ: Add navigation-Drawer layout to a project with activitys already created
I created an androod project with all Kotlin, but without the navdrawer layout, now I need to put the navdrawer and include the Activity I have in it If anyone knows how to fit the Acesvity into…
-
1
votes0
answers86
viewsQ: Problem with the command Rails db:create Undefined Symbol: rb_enc_alias
Whenever I create a project (from scratch) then I give the command db:create Rails to create the database show me this error: LoadError: /var/lib/gems/2.3.0/gems/pg-1.1.0/lib/pg_ext.so: undefined…
-
-1
votes1
answer34
viewsQ: Search inside another Rails scaffold
I have a problem, an example created two scaffold book and loan, then created a controller and an index called report : rails generate controller RelatoriosEmprestimos index I want to do specific…
-
0
votes1
answer80
viewsQ: How to make a table in a scaffold Rails with the attributes of another scaffold
I’m having a hard time! I created a scaffold called a book and a so-called loan after I created a so-called report in the report I want to do a search for book loans I’m using Gem ransack to search…
-
2
votes1
answer66
viewsQ: How to find the number of records of a model?
I created a scaffold called a book and I wanted to create a method to count how many book entries there are in my database and use that result in the controller of another scaffold, called the…
-
0
votes1
answer315
viewsQ: Ruby on Rails search to generate a report
Well I have a project with scaffolds of books and loans and I need to do a search of a specific book and as a result show all the loans that that book had I have no idea how to start doing that.…
-
0
votes0
answers57
viewsQ: Loan logic in a library
I’m looking to do a logic of a library book loan, I made a scaffold for book one for user and another for loan. In the list of books in each book has a loaner button when I click it takes the id and…
-
0
votes1
answer150
viewsQ: Action for a borrow button on the Rails
I’m just starting out on ruby on Rails and I’m having a question I need to make a library, I created and I am listing the books, I created a borrow button in each book unit and then this my problem…