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://www.honeybadger.io/blog/rails-security-authentication-leaks/
Honeybadger Developer Blog
Rails Security Threats: Authentication
Authentication is at the heart of most web development, yet it is difficult to get right. In this article, Diogo Souza discusses common security problems with authentication systems and how you can resolve them. Even if you never build an authentication system…
Ruby / Rails Inside
https://www.tomdalling.com/blog/software-processes/github-workflow-for-automated-gem-releases/
Tomdalling
GitHub Workflow For Automated Gem Releases
Ruby / Rails Inside
https://prabinpoudel.com.np/articles/live-stream-logs-to-browser-with-rails/
probn
Live Stream Logs to Browser with Rails - Prabin Poudel - Rails & Web App Developer | Freelancer
Live streaming files content to browser in Rails can be accomplished with the use of Server Side Events. In this tutorial, we will be learning to live stream content inside log files to the browser from Rails controller by using file watcher and server side…
Ruby / Rails Inside
https://honeyryderchuck.gitlab.io/httpx/2021/06/18/httpx-responses-can-be-pattern-matched.html
Ruby / Rails Inside
https://www.brandnewbox.com/notes/2021/03/form-builders-in-ruby/
Brandnewbox
Building Your Own Rails Form Builders
Learn how to plug in to Rails' form builders to speed up application development and avoid duplication.
Ruby / Rails Inside
https://bigbinary.com/blog/rails-7-deprecates-enumerable-sum-and-array-sum
BigBinary
Rails 7 deprecates Enumerable#sum and Array#sum
Rails 7 series | Rails 7 deprecates Enumerable#sum and Array#sum
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