-
Containerizing Rails: Techniques, Pitfalls, and Best Practices (RailsConf 2018)
On April 18, 2018, I spoke on "Containerizing Rails: Techniques, Pitfalls, and Best Practices" at RailsConf in Pittsburgh, PA. The talk discussed best .
-
How to Implement Elasticsearch in a Rails Web App. Part 2
This article was originally published on Codica blog.Today, we are going to provide you with the second part of the article How to Implement Elasticsea.
-
Render and combine PDF files into one
Render PDF files from HTML templates in Rails can be done using WickedPDF.First you need to use ActionView to render HTML to a string:...
-
How to delete polymorphic models cascade
You will not be able to add the usual foreign keys for cascading delete records. But this can be implemented using a database.To do this, you need to w.
-
Create factory with an uploaded file in Rails rspec
To create a factory with an uploaded file in Rails rspec, needs to be included ActionDispatch::TestProcess module in the rails_helper.rb file to use th.
-
Use image files from S3 in WickedPdf
If you need to use image files from S3 in your generated pdf file using WickedPdf, then you need first to download the image. You can create method tha.
-
Token Authentication with Rails, Vue, GraphQL and Devise
You’ve likely heard about the new kid on the block...
-
Dependency Injection in Ruby 🌈
I once wrote an article on Medium about dependency injection - Dependency Injection is not Scary!. Recently joined dev.to, I thought I'd bring my thoug.
-
10 tips to help using the VCR gem in your Ruby test suite
The original post, in Portuguese, was published here. (I procrastinated to translate it to English almost 1 year!)The gem VCR is a good choice to do in.
-
Build Messaging Between Ruby/Rails Applications with ActiveMQ
One of the tools that are rarely covered in the Ruby/Rails world are the message brokers (probably because they mostly written in Java). Everyone are f.