Ruby / Rails Inside
@rubyinside
735
subscribers
15
photos
2.51K
links
Daily Ruby / Ruby on Rails articles. Curated channel.
Faker::Hacker.say_something_smart
Suggest link/news
https://t.me/NoMethodError
Download Telegram
Join
Ruby / Rails Inside
735 subscribers
Ruby / Rails Inside
https://blog.saeloun.com/2021/06/23/rails-7-adds-ability-to-provide-raw-sql-as-returning-to-upsert-all
Saeloun Blog
Rails 7 allows passing raw SQL as `on_duplicate` value to `#upsert_all`
Rails 7 allow passing raw SQL statements to `on_duplicate` and `returning` option as value to ActiveRecord `#upsert_all` method.
Ruby / Rails Inside
https://mariochavez.io/desarrollo/2021/06/22/heic-support-active-storage/
Mario Alberto Chávez Cárdenas
HEIC support for Active Storage
Apple’s HEIC format is not supported out of the box on Active Storage
Ruby / Rails Inside
https://logger.rocketjob.io/
logger.rocketjob.io
Semantic Logger for Ruby or Rails. Supports Graylog, Bugsnag, MongoDB, Splunk, Syslog, NewRelic.
Semantic Logger is a feature rich logging framework, and replacement for existing Ruby or Rails loggers. Supports Syslog, Graylog, Elasticsearch, Splunk, Loggly, New Relic, Bugsnag, MongoDB, HTTP(S).
Ruby / Rails Inside
https://www.youtube.com/watch?v=rdyzedPLuEQ
YouTube
How to Create Database Views using the Scenic Gem
In this tutorial we use the Scenic gem to create a Postgres Database View to view the contents of multiple tables at the same time.
Then I make it awesome & test it with RSpec.
# Sources
➡
https://github.com/scenic-views/scenic
➡
https://github.com/MikeRogers0…
Ruby / Rails Inside
https://www.shakacode.com/blog/railsconf-2021-implicit-to-explicit-decoding-rubys-magical-syntax/
Shakacode
RailsConf 2021 -- Implicit to Explicit: Decoding Ruby's Magical Syntax
RailsConf 2021 Session Abstract
Does a Rails model or config file seem like a magical syntax? Or can you read any Ruby code and understand it as the interpreter does?
Ruby's implicitness makes it…
Ruby / Rails Inside
https://karolgalanciak.com/blog/2021/06/27/using-multiple-databases-in-a-single-query-in-your-rails-app-postgres-foreign-data-wrappers-to-the-rescue/
Karolgalanciak
Multiple databases in a single query in your Rails apps - Postgres Foreign Data Wrappers to the rescue
Imagine that you are building a separate application for your e-commerce system dedicated to business intelligence. In other words, you want to calculate som...
Ruby / Rails Inside
https://opalrb.com/blog/2021/06/26/webassembly-and-advanced-regexp-with-opal/
Ruby / Rails Inside
https://www.eyupatis.com/serve-webflow-pages-on-the-same-subdomain-with-rails-app/
Eyupatis
Serve Webflow Pages On The Same Subdomain With Rails App
BackgroundWebflow is a no-code web design and development platform. You can use it to serve your static pages like marketing and landing pages.
Ruby / Rails Inside
https://www.honeybadger.io/blog/testing-rails-with-docker/
Honeybadger Developer Blog
Set Up A Docker Container To Test Your Rails App
Code is never self-contained. It runs in an environment. Docker lets you define that environment in a simple and portable way. That's why pretty much every automated testing and deployment service works with docker containers. You give them a container, and…
Ruby / Rails Inside
https://hanamimastery.com/episodes/5-configure-anything-with-dry-configurable
Hanami Mastery - a knowledge base to hanami framework
#5 Configure anything with dry-configurable
Configuring projects and components is one of the most common features in programming in general. dry-configurable is a standalone gem providing you exactly this in Ruby! Read about how to use it.
Ruby / Rails Inside
https://longliveruby.com/articles/from-zero-to-sidekiq-hero
Ruby / Rails Inside
https://copilot.github.com/
GitHub
GitHub Copilot
AI that builds with you
Ruby / Rails Inside
https://blog.saeloun.com/2021/06/29/rails-7-generators-will-raise-errors-when-invalid
Saeloun Blog
Rails 7 generators will raise errors if an attribute type is invalid
Rails 7 generators will validate the type by checking if it is of a default migration type and will raise an error if it is invalid.
Ruby / Rails Inside
https://blog.saeloun.com/2021/06/30/rails-7-adds-audio-analyzer-to-active-storage
Saeloun Blog
Rails 7 adds AudioAnalyzer to ActiveStorage
Rails 7 adds AudioAnalyzer to ActiveStorage to extract audio duration and bit_rate.
Ruby / Rails Inside
https://twitter.com/patrickc/status/1410269843585069056
Twitter
We're big believers in multi-year infrastructure bets. After a few years of Ruby infra work, our in-house Ruby compiler is now 22–170% faster than Ruby's default implementation for Stripe's production API traffic. If interested in working on such problems…
Ruby / Rails Inside
https://kukicola.io/posts/creating-google-like-letter-avatars-using-erb-generated-svgs/
kukicola.io
Google-like letter avatars using ERB-generated SVGs - kukicola.io
Creating user avatars is a pretty simple thing. It can be done even without any libraries like imagemagick. With just ERB we are able to quickly generate SVG avatars that will work in all browsers.
Ruby / Rails Inside
https://rubytogether.org/news/2021/7/a-new-approach-to-documentation-ruby-api
Ruby / Rails Inside
https://engineering.mrsool.co/using-redis-hashes-for-caching-in-ruby-on-rails-6dc53df293da
Medium
Using Redis Hashes for Caching in Ruby on Rails
Lessons we learned using Redis with Rails in production at scale, and sharing a Ruby gem we created to help make it easier for others.
Ruby / Rails Inside
https://www.rubybits.com/b/default-object-in-ruby-console
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/7/2/this-week-in-rails-perform-destroy_all-in-batches-and-a-lot-more-features/
Ruby on Rails
Perform destroy_all in batches and a lot more features
Hello. News about latest changes in Rails delivered to you by Wojtek.
Ruby / Rails Inside
https://www.cookieshq.co.uk/posts/minimise-impact-of-ddos-attack-ruby-on-rails-app
CookiesHQ - web, voice, mobile apps designers and developers in Bristol
How to minimise the impact of a DDOS attack on your Ruby on Rails app
Your guide to minimising the impact of a DDoS attack on your Ruby on Rails app - using Rack-attack or DNS filtering service like Cloudflare.