Tagged #rails

11 articles tagged with Rails.

Handshake: ECDH between Ruby on Rails and Web Crypto APIs
Nov 26, 2024 6 min

Handshake: ECDH between Ruby on Rails and Web Crypto APIs

T he handshake process plays a pivotal role in establishing a foundation of trust and encryption. One such robust and efficient method is the Elliptic-Curve Diffie-Hellman ( ECDH ) key exchange…

AC André Campos
Photo by Glenn Carstens-Peters on Unsplash
Sep 17, 2024 15 min

GraphQL | A Query Language for Your Rails API— Part 1

GraphQL is one of the many tools developers use to build modular APIs with a unique twist. Instead of following the conventional REST model, where it’s the API developer that decides what data is…

LC Luís Costa
Photo by Mohammad Rahmani on Unsplash
Aug 2, 2023 3 min

How to use Prettier to lint Ruby files

When it comes to maintaining clean and consistent code in Ruby on Rails applications, proper linting is crucial. Prettier is a popular code formatter that can be used to enforce consistent code style…

AN Andre Nunes
Klaviyo, a modern take on customer interaction. Image source
Oct 4, 2022 8 min

Klaviyo — Email & SMS Automation for improved Marketing

Marketing. The ever-evolving development of strategies that aid businesses reach their target market with valuable goods and services.

YC Yuri Cabrita
Pry is ready for action.
Oct 23, 2018 4 min

Four things about Pry

I love REPL s. It’s a great development tool. Any decent language has a REPL. Lisp has it. Python has it. So does Haskell . And Ruby , obviously, has it!

BJ Bruno Jacquet
Bringing Rails, webpack, react and camaleon-cms together
Apr 26, 2018 8 min

Bringing Rails, webpack, react and camaleon-cms together

TL;DR A Github repo is available as a template to get started with Rails, camaleon-cms, webpack(er) and react. Stick around to see some tips and tricks on how we made everything run smoothly.

HB Hugo Bento
Value Objects in Ruby on Rails
Jun 29, 2017 6 min

Value Objects in Ruby on Rails

Today I’m going to talk about value objects and how they can be used and identified in your Rails application.

MC Mario Cardoso
Photo taken from the 1973 St. Louis Roosevelt High School yearbook by bluwmongoose
Jun 22, 2017 3 min

Rails Quiz: XSS Edition

Cross-site scripting (XSS) is a type of computer security vulnerability that enables an attacker to inject code into a web page.

GS Guilherme Simões
Working with Facebook using Devise, Omniauth, Koala and Rails 5
Jun 1, 2017 5 min

Working with Facebook using Devise, Omniauth, Koala and Rails 5

The feature that possibly every developer had to implement at some point in their career is user authentication. In some cases, you might want to make use of Facebook accounts to facilitate the…

AG Ana Gonçalves
Nishiki Market, Kyoto, Japan by Jay Bergesen
Apr 20, 2017 4 min

Saving multiple Models with Form Objects and Transactions

We’ve talked before about form objects and how they can simplify our Rails views. Now I’d like to present a more complex scenario and one way to tackle it.

GS Guilherme Simões
Want to use ES6 with Rails right now ? Webpack to the rescue
Mar 9, 2017 8 min

Want to use ES6 with Rails right now ? Webpack to the rescue

Today I’m going to talk about setting up a Rails application so you can write complex JavaScript features using ECMAScript 6, also known as ECMAScript 2015, and its marvellous new features.

MC Mario Cardoso