Dockerizing your Ruby apps, and when not to use Rails?

2 months ago - Direct link

#514 — August 13, 2020

Read on the Web

Ruby Weekly

When Should You Not Use Rails? — Thoughts on when Rails doesn’t necessarily shine compared to the alternatives. No one else has really created a list like this and it’s likely it’ll be cited going forward by many teams considering Rails. On the flip side, Rails’ conventions and the familiarity peopl...

Go to article →

Links in this thread

Ruby Weekly Issue 514: August 13, 2020
When Should You Not Use Rails? — Thoughts on when Rails doesn’t necessarily shine compared to the alternatives. No one else has really created a list like this and it’s likely it’ll be cited going forward by many teams considering Rails. On the flip side, Rails’ conventions and the familiarity people have with it make it a compelling choice for many too.

When Should You NOT Use Rails?
For the entertaining version, listen to the podcast. For the just-the-facts extra-complete version, I’m writing this post.

Anecdotal random story bits from my current company on why you should stick to R... | Hacker News
- All of our "lightweight Sinatra(and similar) API" services eventually start to look more and more like Rails apps. Rails does many small developer convenience things well. Which you do not notice until you build this lightweight API yourself. E.g. console, logging, migrations, database connection pooling, rspec integration, i18n.

How to Dockerize a Rails application - Code with Jason
Reasons to Dockerize a Rails application I had to hear Docker explained about 48,766 times before I finally grasped why it’s useful. I’ll explain in my own words why I think Dockerizing my applications is something worth exploring. There are two benefits that I recognize: one for the development environment and one for the production …

Datadog Ruby Troubleshooting | Datadog
See metrics from all of your apps, tools & services in one place with Datadog's cloud monitoring as a service solution. Try it for free.

How to Dockerize a Sinatra application - Code with Jason
Why we’re doing this Docker is difficult In my experience, Dockerizing a Rails application for the first time is pretty hard. Actually, doing anything with Docker seems pretty hard. The documentation isn’t that good. Clear examples are hard to find. Dockerizing Rails is too ambitious as a first goal Whenever I do anything for the …

Understanding and Implementing OAuth2 in Ruby
Let me know if this feels familiar. Your users want to "login with GitHub," so you install a gem, follow the setup instructions, then pray it never needs maintenance because you have no real idea how OAuth2 works. Let's fix that. In this article, Diogo Souza shows us the fundamental concepts behi...

Idiosyncratic Ruby: Nothing to Escape
Documenting All Ruby Specialities.

How to Set Up a Ruby Development Environment | Pluralsight
Pluralsight Guides

Product Developer - Podia
At Podia, we’re building the best platform on the planet for creators to sell online courses, memberships, webinars and digital downloads.We’ve been around for a few years, have helped creators earn millions, and we’re growing fast……really fast.That’s ...

Grow your tech career
Thousands of startups and companies use Vettery to grow their tech and product teams. Sign up today and let your next role find you.

Get your job listings in front of over 400,000 software developers via our JavaScript, Web operations, front-end development, Ruby, Node.js, and other e-mail newsletters.

Creating unlogged (PostgreSQL) tables in Rails
Prathamesh Sonpatki's musings about Web Development using Ruby

Idiosyncratic Ruby: Nothing to Disable
Documenting All Ruby Specialities.

2 ways to test Rails log messages with RSpec | Everyday Rails
If you're like me and don't need to test log output on a regular basis, you may not find the solutions to be immediately obvious. Here are two ways (that I know of) to approach the problem.

For mysqldump backups, we connect to your server securely using a SSH key.

How to translate and localize apps with Rails Internationalization (18n) (Example) | GoRails - GoRails
Translating and localizing your app is important to make it accessible to users around the world. Rails provides internationalization (I18n) tools to make this easier and it's got a lot of cool tricks available.

RR 467: Rails at Super Scale with Kyle d'Oliveira -
Kyle d'Oliveira (Cleo) shares his survival tips for dealing with tens of thousands of commits, massive migrations and the very limits of databases. We discuss the lessons learned from Rails megaprojects and how to use these tips in your own projects to reduce technical debt and tools to keep your monolith majestic when the code won't stop coming.

Introduction to Ruby on Rails Patterns and Anti-patterns
Dig into the basics of design patterns and anti-patterns.

057 - Matt Swanson, Creator of Boring Rails | Rails with Jason
In this episode I talk with Matt Swanson, creator of Boring Rails, about SPAs vs. traditional Rails apps, ways of structuring model code, POROs, service objects, Interactors, the merits of FormBuilder, and some other stuff.

Boring Rails: Skip the bullshit and ship fast
Learn about the boring tools and practices used by Basecamp, GitHub, and Shopify to keep you as happy and productive as the day you typed rails new

Building GitHub-style Hovercards with StimulusJS and HTML-over-the-wire
Turbolinks, Stimulus, and Server Rendered HTML is a compelling alternative to modern JavaScript single page apps. Let’s build a hovercard to see how you can kick it old school with a more boring approach.

Record a Call in Ruby with Vonage Voice API WebSockets
Learn how to build a small webserver to work with WebSockets in Ruby. The server will handle incoming voice calls, WebSocket connections, and render HTML

Completely Remove Ruby 2.7's Default Bundler
Ruby 2.7 comes with the default bundler gem, which always has 2.0+ version. This is a great default i... Tagged with ruby, ci, bundler.

A set of useful functions for transforming strings. - piotrmurach/strings

Draw various frames and boxes in your terminal window - piotrmurach/tty-box

RubyMine: The Ruby on Rails IDE by JetBrains
The Ruby and Rails IDE with first-class support for Ruby and Rails, JavaScript and CoffeeScript, ERB and HAML, CSS, Sass and Less, and more.

Modular resource-based authentication and authorization for Rails/Rack - square/rails-auth

An abstract OAuth2 strategy for OmniAuth. Contribute to omniauth/omniauth-oauth2 development by creating an account on GitHub.

RFC 7636 - Proof Key for Code Exchange by OAuth Public Clients

The very best blogging engine for Refinery CMS. Contribute to refinery/refinerycms-blog development by creating an account on GitHub.

Ruby on Rails CMS that supports Rails 6.0+ - Refinery CMS
Refinery is the most popular Ruby on Rails CMS and supports Rails 6.0+. It's easy to extend and sticks to 'the Rails way' where possible.