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/22/rails-active-storage-proxy.html
Saeloun Blog
Rails now serves files via proxy
Rails 6.1 has added support to ActiveStorage that serves files via proxying.
Ruby / Rails Inside
https://www.youtube.com/watch?v=20BCuKIRzLo
YouTube
Svitla Smart Talk. Piotr Solnica - Hanami - next generation Ruby application framework
Svitla Smart Talks are online and offline events across varied software development topics hosted by Svitla Systems. Join us to learn more about different programming languages, frameworks and tools, enhance your professional skills and meet the most proficient…
Ruby / Rails Inside
https://evilmartians.com/chronicles/custom-cops-for-rubocop-an-emergency-service-for-your-codebase
evilmartians.com
Custom "cops" for RuboCop: an emergency service for your Ruby code—Martian Chronicles, Evil Martians’ team blog
Learn to write custom rules for RuboCop, test them, and extract into a gem for reuse
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