Results for the following term searched:

More Stories

Cover Image for In Ruby on Rails, how do I format a date with the "th" suffix, as in, "Sun Oct 5th"?

In Ruby on Rails, how do I format a date with the "th" suffix, as in, "Sun Oct 5th"?

updated a few hours ago
dateruby-on-rails

# How to Format Dates with "th" Suffix in Ruby on Rails 📆💎 Have you ever wondered how to display dates with the "th" suffix in Ruby on Rails? You know, like "Sun Oct 5th" or "Thu Oct 2nd"? Look no further! In this blog post, we'll explore a common issue

Matheus Mello
Matheus Mello
Cover Image for Rails migrations: Undo default setting for a column

Rails migrations: Undo default setting for a column

updated a few hours ago
ruby-on-rails

# Undo Default Setting for a Column in Rails Migrations So, you're working on a Rails project and you find yourself in a situation where you need to undo the default setting for a column in one of your migrations. Don't worry, I've got you covered! In thi

Matheus Mello
Matheus Mello
Cover Image for What does inverse_of do? What SQL does it generate?

What does inverse_of do? What SQL does it generate?

updated a few hours ago
ruby-on-rails

# Understanding `inverse_of` and the SQL it Generates 😎🔎💻 So, you've stumbled upon the mysterious concept of `inverse_of` in ActiveRecord, and you're wondering: what does it actually do? 🤔 And more importantly, what SQL does it generate? 📥🔍 First o

Matheus Mello
Matheus Mello
Cover Image for Error installing libv8: ERROR: Failed to build gem native extension

Error installing libv8: ERROR: Failed to build gem native extension

updated a few hours ago
ruby-on-railswindows

📝🔥 Blog Post: How to Fix the Error Installing libv8: ERROR: Failed to Build Gem Native Extension Are you a developer who loves working with Rails projects? If yes, then you might have come across the frustrating "Error installing libv8: ERROR: Failed to

Matheus Mello
Matheus Mello
Cover Image for Rails select helper - Default selected value, how?

Rails select helper - Default selected value, how?

updated a few hours ago
ruby-on-rails

# Rails select helper - Default selected value, how? 🚀 Are you struggling with setting a default selected value for a Rails select helper? We've got you covered! 🎉 In this blog post, we'll explore a common issue that many developers face and provide you

Matheus Mello
Matheus Mello
Cover Image for Rails: How to list database tables/objects using the Rails console?

Rails: How to list database tables/objects using the Rails console?

updated a few hours ago
ruby-on-rails

# Rails: How to List Database Tables/Objects using the Rails Console? 😎 Hey there, fellow Rails enthusiasts! 👋 Have you ever found yourself wondering how to easily check what databases or objects are available to you directly from the Rails console? 🤔

Matheus Mello
Matheus Mello
Cover Image for Ruby on Rails Callback, what is difference between :before_save and :before_create?

Ruby on Rails Callback, what is difference between :before_save and :before_create?

updated a few hours ago
ruby-on-railsruby-on-rails-3validation

📢 Get Ready to Rock with Ruby on Rails Callbacks! 🚀 If you're a Ruby on Rails developer, you've probably encountered the mighty power of callbacks. 🎵 But what's the difference between the 🤔 `:before_save` and `:before_create` callbacks? And how do the

Matheus Mello
Matheus Mello
Cover Image for execJs: "Could not find a JavaScript runtime" but execjs AND therubyracer are in Gemfile

execJs: "Could not find a JavaScript runtime" but execjs AND therubyracer are in Gemfile

updated a few hours ago
ruby-on-rails

# 🤔 ExecJS: 'Could not find a JavaScript runtime' but execjs AND therubyracer are in Gemfile? Are you facing this baffling error message: `Could not find a JavaScript runtime` while trying to run your Rails application? Don't worry, you're not alone! Thi

Matheus Mello
Matheus Mello
Cover Image for Rails 4 Authenticity Token

Rails 4 Authenticity Token

updated a few hours ago
ruby-on-rails

📝 **Rails 4 Authenticity Token: Solving the Common Problems** Have you ever encountered the pesky `ActionController::InvalidAuthenticityToken` exceptions when working with Rails 4? 😩 Don't worry, you're not alone! In this blog post, we will explore comm

Matheus Mello
Matheus Mello
Cover Image for How to redirect to previous page in Ruby On Rails?

How to redirect to previous page in Ruby On Rails?

updated a few hours ago
redirectruby-on-rails

# 🚀 How to Redirect to Previous Page in Ruby On Rails? So, you're trying to redirect back to the previous page in your Ruby on Rails application? You want to ensure that after updating some data, you're redirected to the exact same page with the same sor

Matheus Mello
Matheus Mello