How to reduce memory usage in Ruby

Question Sidekiq workers consume a lot of memory: how can I fix that? I have a Rails application that can usually run with about 1 GB of RAM. However there are some Sidekiq workers that constantly grow over time –…

Pretty URLs in Ruby on Rails

Question How do I generate pretty URLs in Ruby on Rails? For example, I have a URL like this for a post: How can I get pretty URLs (SEO URLs) for all posts? Answer In a Ruby on Rails application…