From a Lorry Driver to Ruby on Rails Developer at 38
Rubyland
by
49m ago
Originally appeared on Write Software, Well. Most traditional interviews are focused on celebrities or popular personalities. However, I am more interested in interviews with hidden gems, unknown figures doing solid work, folks overcoming challenges just to be on the same playground as everyone else. Hence, I wanted to start featuring some of them on this blog, providing a platform for sharing their compelling stories and valuable lessons. While they may not be on the covers of major publications or appearing on popular podcasts, their stories, backgrounds and experiences are nonetheless fasc ..read more
Visit website
ActiveRecord::Base#pluck accepts hash values, devcontainers improvements and more!
Rubyland
by
49m ago
Originally appeared on Ruby on Rails. Hey everyone, Happy Friday! I hope you get some time to unwind and relax going into the weekend ? Vipul here with the latest updates for This Week in Rails. Let’s dive in. Allow ActiveRecord::Base#pluck to accept hash values This change adds support for ActiveRecord::Base#pluck to accept hash values. # Before Post.joins(:comments).pluck("posts.id", "comments.id", "comments.body") # After Post.joins(:comments).pluck(posts: [:id], comments: [:id, :body]) The same applies to .pick, which is implemented using .pluck. Fix child association loading in :n_plu ..read more
Visit website
Scaling and Shopify with Kir Shatrov - RUBY 633
Rubyland
by
50m ago
Originally appeared on Ruby Rogues. Today’s guest Kir Shatrov is a production engineer on Shopify based in London, UK. Today, he and the panel are discussing capacity planning. Kir believes that capacity planning becomes a priority when your company starts losing money and your customers are suffering. When someone does get to the point of scaling their app, it’s important to look at the limitations of the hosting service. It is also important to remember that scaling is not a job that is ever completed. Kir talks about his experience and time with Shopify and what types of changes have happen ..read more
Visit website
Commenting on Pull Requests in GitHub Actions
Rubyland
by
50m ago
Originally appeared on code.dblock.org | tech blog. The OpenSearch API specification is authored in OpenAPI and used to auto-generate OpenSearch language clients. I wanted to know how much of the API was described in it vs. the actual API implemented in the default distribution of OpenSearch that includes all plugins. To do so, I have exposed an iterator over REST handlers in OpenSearch core, and wrote a plugin that rendered a very minimal OpenAPI spec at runtime. All that was left was to compare the manually authored OpenAPI spec in opensearch-api-specification to the runtime one, added in op ..read more
Visit website
AstroVim slow on large files
Rubyland
by
50m ago
Originally appeared on Mike Coutermarsh. If you're finding AstroVim is lagging on very large files, it is possible the source of the problem is vim-illuminate. To determine if it is, run :TSDisable illuminate. Does it solve your problem? Large file cutoff If that solved your problem, you can disable illuminate for large files with the following config change. nvim/lua/plugins/vim-illuminate.lua return { "RRethy/vim-illuminate", event = "User AstroFile", opts = function() return { large_file_cutoff = 3000, } end, } Now any file over 3000 lines will stop using illuminate ..read more
Visit website
A Quick Guide to Ruby's Time and DateTime Classes
Rubyland
by
4h ago
Originally appeared on Saeloun Blog. Introduction Ruby has three main classes for handling date and time: Date, Time, and DateTime. The DateTime class is a subclass of Date and is used to handle date, hour, minute, second, and offset. However, The Ruby documentation also recommends using the Time class instead of DateTime. The DateTime class is still available in Ruby for backward compatibility, but developers are encouraged to use the Time class for new projects and to migrate existing code to use the Time class. DateTime in Ruby DateTime in Ruby is a class that can handle date, hour, minute ..read more
Visit website
Authenticate_by: Prevent timing-based enumeration of users.
Rubyland
by
12h ago
Originally appeared on a-chacon. With the introduction of authenticate_by in Rails 7.1, we can now prevent enumeration attacks based on response times ..read more
Visit website
? Issue 413 - RubyJS-Vite
Rubyland
by
18h ago
Originally appeared on Awesome Ruby Newsletter ..read more
Visit website
Once a Maintainer: Armin Ronacher
Rubyland
by
18h ago
Originally appeared on Once a Maintainer. Welcome to Once a Maintainer, where we interview open source maintainers and tell their story. This week we’re talking to Armin Ronacher, creator of the Flask framework and founder of the Pocoo team, a group of open source developers working on several widely used Python projects. Armin is a regular speaker at various developer conferences and currently works as a Principal Architect for Sentry. Once a Maintainer is written by the team at Infield, a platform for managing open source dependency upgrades. Armin spoke with us from Austria. How did you get ..read more
Visit website
Making SQLite faster in Rails apps
Rubyland
by
1d ago
Originally appeared on Ruby Weekly. #​699 — April 18, 2024 Read on the Web Ruby Weekly Prism in 2024 — Ruby 3.3 included a new standard library called Prism, a Ruby language parser that can be used internally by Ruby itself or as a library by your own code. It’s been a huge effort, and Kevin shares the full story of Ruby parsing (starting all the way back in 1994!) and how Prism is rapidly becoming a key part of the Ruby ecosystem. Kevin Newton Memetria: Secure, Scalable Redis Hosting — High performance Redis hosting with large key tracking, detailed metrics, and a superior uptime  ..read more
Visit website

Follow Rubyland on FeedSpot

Continue with Google
Continue with Apple
OR