in creating User Authentication layer
for the Ruby on Rails applications.
The other day, I was taking a session on
to resolve a query from a Ruby on Rails developer.
The developer had added an enum attribute role on the users table.
The query was
how to update custom attribute added
to users table generated by devise gem.
[Creator of Rails] has recently announced
as a built in support
for file uploads.
Active Storage is targeted to be released with Rails 5.2.
The development has been started on Github in
It is started as a separate repository for now.
This ActiveStorage is eventually planned to be merged in Rails repository.
Rails 5 has improved the way query was done on database
when pluck was called on a model.
Before Rails 5,
when pluck was called,
it used to query database even if the activerecord collection is queried before.
There are some posts explaining don’t pluck
In this post we will discuss how Rails 5 has improved the way pluck used to
In Rails, exception_notification is popular gem used for Exception Notification to email.
Slack is a new tool which is very popular among teams for collaboration.
This article will help us understand the way to configure exception_notifier gem
to send notifications to your Slack channel from Ruby on Rails application.
Google has released Material UI.
Since then, Material UI is getting a lot of attraction from Designers
Developers around the world.
This article will help you create Material UI application in Rails.
In this article we will learn how to integrate slack with Rails applications using slack-notifier. Slack is a messaging app for teams. Slack comes with integration services with tools such as Github, Airbrake, Jenkins, Bitbucket and there are many. You can visit Slack services page for full details.
Ruby on Rails developers use rescue nil to get default value
if particular expression evaluation fails.
rescue nil is bad, very bad in terms of performance.
We will learn why it’s bad and what should be used in order to achieve the same result
Developers try Setting up the Blog with Github Pages and Custom Domain with Godaddy. This tutorial will help you to set up / point your Github Pages to your Custom Domain if your custom domain is registered with Godady!
This tutorial will help you understanding Memoization pattern in Ruby.
Memoization is different from Lazy Initialization.
Rails had Memoize to support memoization pattern which will be discussed as well.