Articles of interest for Ruby on Rails
Displaying articles 501 - 525 of 5374 in totalArticle Sources
-
Nested Forms with Cocoon
Using the unobtrusive gem, Cocoon, learn how to handle multiple models in a single form with accepts_nested_attributes_for.
Published:
-
Advanced Counter Caching
Add advanced counter caching for soft deletable models, scopes, and has_many relationships
Published:
-
Nested Forms from Scratch
Learn how to handle multiple models in a single form with accepts_nested_attributes_for and learn how to add and remove nested records through JavaScript.
Published:
-
Decorators with the Draper Gem
Implement the decorator pattern with the Draper gem in your Rails application
Published:
-
Ruby on Rails 5.1.0 Changes and New Features
Upcoming features include Yarn/Webpack, System Tests via Capybara, Encrypted Secrets and a bunch of other cool things!
Published:
-
Decorators From Scratch
Learn what the Decorator design pattern does and how to implement it from scratch
Published:
-
Working with Internationalization
Adding translations into your website does not have to be hard. With Rails built in I18N functionality, we gain access to many helpers and conventions that makes it a much easier task. Learn how to add I18N into your Rails application.
Published:
-
ActiveRecord Explain
Learn how to use ActiveRecord Explain to analyze your SQL queries generated by ActiveRecord
Published:
-
Decoding and Interacting with Barcodes
Using the QuaggaJS Library, learn how to scan and decode barcodes with your Ruby on Rails application. Using provided callbacks, interact with controller actions to provide a seamless experience.
Published:
-
Atomic Updates And Performance with ActiveRecord Transactions
Learn how to use ActiveRecord Transactions to create atomic updates across multiple records and to improve the speed of bulk operations
Published:
-
Managing Servers with Ansible
A look into the Drifting Ruby network architecture and how I manage deployments with Ansible.
Published:
-
Devise Masquerade as another User
Add masquerading (the ability to impersonate or login as another user) to your development or admin environments using the devise_masquerade gem
Published:
-
Searchkick and Elasticsearch
Add full text searching using Searchkick and Elasticsearch. Here I will show the steps involved in adding this search to an existing application and a sample of autocomplete functionality.
Published:
-
VueJS JWT Auth with Rails APIs and LocalStorage
Build a basic VueJS frontend application that authenticates to the server using JWT, Rails API, and LocalStorage
Published:
-
Random Ruby Tips and Tricks
A collection of different Ruby tips and tricks. Hope you find some of them useful!
Published:
-
JSON:API Format and Active Model Serializers
Learn how to format your API easily using Active Model Serializers and the JSON:API spec
Published:
-
Client Side Encryption
Add an extra level of security to your application with client side encryption. Even over an SSL connection, there are attacks which could expose your users' sensitive information. Using JSEncrypt, learn how to encrypt on the client side and decrypt on the server side.
Published:
-
JSON Web Tokens with Devise & Warden
Add a Warden strategy to Devise to support JWT authentication with your Rails app
Published:
-
JSON Web Token Authentication From Scratch
Add JWT Authentication to your Rails API from scratch
Published:
-
Security and Static Code Analyzers
Whether you're preparing for a third-party security scan or already doing peer code reviews, you should always run brakeman scanner on your application to identify potential security vulnerabilities.
Published:
-
API Authentication with JSON Web Tokens (JWT) and Knock
Authenticate your API using JSON Web Tokens (JWT) using the Knock gem
Published:
-
Periodic Tasks with sidekiq-cron
Using a third-party add-on, sidekiq-cron, we can create periodic tasks to extend the functionality of sidekiq.
Published:
-
Using ActiveAdmin to Build an Admin UI
Learn how to build a dedicated admin area in your Rails app for editing records by admins using the ActiveAdmin gem
Published:
-
JSON Web Tokens (JWT) vs Rails Session Cookies
Explore the differences and similarities between Json Web Tokens and Rails session cookies and why you'd want to use one over the other
Published: