Posts by Anderson Brantes • 31 points
5 posts
-
0
votes1
answer685
viewsA: Rails 5.2.0 `method_missing': Undefined method `has_one_attached'
If you want to use Active Storage, the correct command is: rails active_storage:install In place of command: rails active_record:install…
ruby-on-railsanswered Anderson Brantes 31 -
0
votes1
answer80
viewsA: Gem Wicked_pdf - when breaking page repeats the first row of table
You need to change the display property of the thead tag. Add the code below in the css file that is specific to render the pdf, for example: app/Assets/stylesheets/pdf.css thead { display:…
-
0
votes2
answers50
viewsA: Ruby Application Hosting with Sinatra
If you need to test small Ruby applications, one of the simplest ways is to use Heroku. With their free plan, you can place some applications for testing. See:…
-
0
votes1
answer315
viewsA: Ruby on Rails search to generate a report
You can create a screen with a form where the user will enter the book name, and, on the same screen, just below, display the search results (borrowed from the researched book). An example to follow…
-
0
votes1
answer34
viewsA: Nokogiri put tags with separation
From what I understand, you want to use namespaces (the tags with separation). A namespace needs to be declared associated with a URI(Uniform Resource Identifier). If you need a more detailed…