Uncategorized

Enhancing the Ruby IRB Console: Adding Custom Commands for Improved Workflow

How to add a clear command in Irb which I personally use most of the time. To configure IRB (Interactive Ruby) to clear the terminal screen by typing clear instead of system(“clear”), you can define a custom method that wraps the system(“clear”) command. Here’s an example of how you can achieve this: Create a .irbrc …

Enhancing the Ruby IRB Console: Adding Custom Commands for Improved Workflow Read More »

The Ultimate List of Web Development Resources: Generators, Converters, Optimization Tools, and More

Are you looking for tools and resources to make your web development projects easier? Look no further than this comprehensive list of resources for developers. Whether you need help with content creation, design, coding, or testing, we’ve got you covered with generators, converters, optimization tools, and more. Here are just a few of the resources …

The Ultimate List of Web Development Resources: Generators, Converters, Optimization Tools, and More Read More »

Next Image

A Data URL to be used as a placeholder image before the src image successfully loads. Only takes effect when combined with placeholder=”blur”. Must be a base64-encoded image. It will be enlarged and blurred, so a very small image (10px or less) is recommended. Including larger images as placeholders may harm your application performance.

Rails action Mailer

Notifier.welcome(User.first).deliver_later! # Notifier.welcome(User.first).deliver_later!(wait: 1.hour) # Notifier.welcome(User.first).deliver_later!(wait_until: 10.hours.from_now) # Notifier.welcome(User.first).deliver_later!(priority: 10) #