The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Rails Conf 2021 Talks for Early Career Devs
Rails Conf 2021 talks are on YouTube. Great! You just need to go through all the 60+ talks to choose one to watch. Are you an early career dev? Look no more. [more inside]
Best Project Management Methodology for Ruby on Rails App Development in 2021
Agile methodology is emerging as the new winner for RoR application development. Here’s why project management is perfect for RoR app development services. https://www.botreetechnologies.com/blog/project-management-methodology-for-ruby-on-rails-app-development/
Limit your automatic retries
Short blogpost (with examples) explaining why rescue ... retry without retry limits is not a good idea. [more inside]
finviz.com access from Ruby
Take a look at unofficial API to https://finviz.com [more inside]
WSL for Rails developers
With WSL, the Windows Subsystem for Linux, we can now run a Linux distribution within Windows 10. [more inside]
Automatically avoiding GraphQL N+1s
It’s hard to optimize queries when you don’t know in advance what the query will be. To avoid an explosion of database requests when a GraphQL query fetches nested data, it seems like you would need to analyze the query and create a plan for executing it efficiently. But that’s a lot of work, complex, and prone to mistakes. So how can you provide an API that’s not only flexible, but also performs well?
Rails Security Threats: Injections
One of the best things about Rails is that it protects your app from a wide variety of injection attacks with minimal development effort. But we’re never 100% safe. After all, Rails can’t protect us from our own bad decisions. We need to understand the threats so we know when we can lean on Rails and when we can’t. In this article, Diogo Souza introduces us to the OWASP Top 10 list of vulnerabilities and dives into injection vulnerabilities to show us how rails protects us against them and how we can protect ourselves. https://www.honeybadger.io/blog/rails-security-injections/
Rails with Webpacker : a full setup from scratch
Webpacker is a wrapper around Webpack, but is not fully used in a default new Rails application. Let’s see how to set up Rails with Webpacker, in order to use any kind of frontend assets. https://bootrails.com/blog/rails-webpacker-full-setup
Ruby on Roda - REST APIs with Roda & Sequel
Learn how to build a maintainable JSON REST API by using the Roda and Sequel and dry-rb set of gems. Move away from messy, traditional Rails code and move towards crisp, clean code. For the Rubyflow community, I prepared 20% discount: [more inside]
The Ruby Unbundled Series: Track How Customers Use New Features
https://blog.engineyard.com/ruby-unbundled-track-how-customers-use-new-features?utm_source=Awesomw-Ruby Use the Ruby gems ahoy and blazer to track user metrics, usage patterns, and get the most out of your new application features
Enter Brutal-Driven Development
Let Brutal shape for you in no time a huge, framework-less vanilla Ruby file describing the actual behavior of your code through as many combinations of contexts as needed. [more inside]
Super v0.0.16 – Removing Controls, a retrospective
Super is a featureful, lightweight Rails admin framework. Here are thoughts around today’s release which introduced breaking change https://zachahn.com/posts/1621130334
Creating multiple models with form objects in Rails.
Often, when we start a new Rails app we start with simple controllers, and we start by generating everything with scaffolding. There is nothing wrong with this and it is a great way to be able to build your basic models and perform CRUD actions on them but it breaks down a bit when the controllers get more complex. How do you manage the creation of multiple models at once? More
Paytm Wallet Money Transfer with Ruby on Rails
Want to learn how to do PayTm integration with your Ruby on Rails application? Here is a step-by-step guide to integrate PayTm as your payment vendor for Ruby on Rails. [more inside]
Three Ways To Avoid Duplicate Sidekiq Jobs
Sidekiq is used to handle background processing. Whatever your background jobs may be, you’ll eventually run into duplicate jobs. Let’s see how to de-duplicate them. [more inside]
Ruby 3.1 evaluates multiple assignments from left to right
Ruby changes the evaluation order for multiple assignments from left to right making it consistent with single assignment evaluation order. [more inside]