Articles of interest for Ruby on Rails
Displaying articles 176 - 200 of 479 in totalArticle Sources
-
User Onboarding Progress Bar
Add onboarding steps for new users and show their completion progress so they can check items off the list, learn how your product works, and get the most out of it.
Published:
-
@mentions for Users with ActionText in Rails 6
Mentioning Users with an @mention is a super common feature. Trix and ActionText are now part of Rails 6 which means we can very easily add support for tagging users with @mentions and other custom attachments in your applications.
Published:
-
How to use ActionText in Rails 6
A quick introduction to using ActionText in your Rails apps for editing and displaying rich text plus uploading files
Published:
-
Strong Passwords with HaveIBeenPwned
The HaveIBeenPwned Password API lets us enforce strong passwords and warn users their password has been in a data breach
Published:
-
How to Deploy Rails to Production on Ubuntu 18.04 Bionic Beaver
Deploying Rails to production for the first time can be confusing and daunting. We'll walk through every step of the process and show you how to setup a production Rails server from scratch.
Published:
-
Symbols vs Strings
Ever wondered what the difference between Symbols and Strings were? Why would we use one over the other when most languages only have strings?
Published:
-
Symbols vs Strings
Ever wondered what the difference between Symbols and Strings were? Why would we use one over the other when most languages only have strings?
Published:
-
Dynamic Nested Forms with Stimulus JS
Don't like Cocoon or it's jQuery dependency? We can use Stimulus JS and build dynamic nested forms in Rails with accepts_nested_attributes_for from scratch pretty easily!
Published:
-
Autosave Draft Records - Part 2
Creating draft records in your database can be tricky. We'll be using the Draftsman gem to help us create draft versions of our records with our autosave Javascript
Published:
-
Autosave Draft Records - Part 1
Autosaving draft records allows you to make sure users don't lose their work and can easily write draft content without publishing right away. We'll be using Stimulus to build an autosave controller for our form and Draftsman to power the backend.
Published:
-
Server Administration with Cockpit
Linux server administration can be a pain. You can use cockpit to monitor your servers and keep an eye on long running processes like Sidekiq and Puma without having to SSH into your servers.
Published:
-
Server Administration with Cockpit
Linux server administration can be a pain. You can use cockpit to monitor your servers and keep an eye on long running processes like Sidekiq and Puma without having to SSH into your servers.
Published:
-
Security Hardening Servers with Fail2Ban
Security in production is important. We can use Fail2ban and NGINX to block malicious users from accessing our server and apps.
Published:
-
Security Hardening Servers with Fail2Ban
Security in production is important. We can use Fail2ban and NGINX to block malicious users from accessing our server and apps.
Published:
-
How to use the Ruby 2.6 Just-in-Time (JIT) Compiler
Learn how to enable the experimental new Just-in-time compiler for Ruby 2.6
Published:
-
Webpacker Javascript Embed Code Snippet & Scoped Styles
We can use webpacker to create scoped styles for our Javascript widget and build an embed code that links to the latest version of our webpacker JS and CSS for our embeddable widget.
Published:
-
Restricting Javascript Widgets to Registered Sites
We don't want anyone to be able to embed your Javascript widget on any domain, so we'll setup our app to check the domain and only allow the widget on specific sites
Published:
-
Cross-origin Resource Sharing (CORS) with Rails
Cross-origin Resource Sharing (CORS) allows your website to talk to other websites.
Published:
-
Using Vuex with Forms in Rails
Embeddable Javascript Widgets often contain forms. We're using Vuex to build our comment form widget and we're going to use vue-map-fields to make this easier.
Published:
-
Using Vuex with a Rails Backend
The next step in our embeddable javascript widget series is setting up our Vue frontend to talk with our Rails backend using Vuex
Published:
-
User Avatars with ActiveStorage
Adding user avatars is pretty easy using Rails' ActiveStorage feature. We'll be using Devise in this example, but this applies to any user authentication system.
Published:
-
Embeddable Javascript Comments Widget Models - Part 1
Starting our Embeddable JS Widget series outlining the comment and discussion models and the basic webpacker setup
Published:
-
Link To Current Page With Params
Learn how to link to the current page and add, remove, or modify params in the URL. This is handy for things like search or index pages with filters.
Published:
-
Search Filters with ElasticSearch Aggregations
Learn how to add sidebar search filters like Amazon.com using ElasticSearch's aggregations in Searchkick
Published:
-
How to Build a Slack Slash Command App with Rails
Learn how to implement a Slack Slash Command App in Rails using webhooks
Published: