How do i measure the time spend in a ActiveRecord callback?

1
General
I wanted to measure the time spend for validation/before_save/after_commit while saving a active record object. Is there a gem already available for it.

How Much Does Develop CRM Software Cost?

3
General
Hi everyone, I'm interested in developing CRM software , and I'm trying to get a better understanding of the costs involved. I've done some research online, but I'm hoping to get some feedback fro...
NycTicker replied

Setup Ubuntu 24.04 Noble Numbat Discussion

0
General

Powerful Rails Features You Might Not Know Discussion

0
General
This was a great presentation Chris. Well done!!! In the demo on ActionText Embeds (@mention), are you still using the [Tribute](https://github.com/zurb/tribute) library?
Eric Berry posted

Two applications same database

0
General
Hello fellow programmers, I have built a first application using devise and postgresql to sign up the admin for the exercise. The first application is for sign up purpose only. https://github.co...
Asim Mehmood Khan posted

Puma vs Passenger

2
General
I am working on a Rails 6.1 application, and would like to understand the deployment options. By default, the application was generated with the Puma gem. Do I need to make any changes for producti...
Michael Lynch replied

career on cyber security skills?

2
General
anyone help me to know about cyber security skills
MiracleJiggy replied

Setup MacOS 13 Ventura Discussion

17
General
To install rbenv you also need brew install openssl@1.1 readline libyaml gmp or brew install openssl@3 readline libyaml gmp. https://github.com/rbenv/ruby-build/wiki#suggested-build-environment
Kevin Causey replied

Rails for Beginners Part 38: Deploying to Heroku Discussion

13
General
I wasn't able to see the error where the users database table does not exist. I'm not sure if this is because I am on free tier but only the requests show on the logs and not the error itself: ```...
Guilherme Domingos replied

Rails for Beginners Part 11: Creating the User model Discussion

7
General
Nicely done. User.all , User.first, User.last, User.create({hash:"hash"})

A Gorails "Path" series to learn the Rails way of doing Javascript?

2
General
Hey Chris. I'm coming back to Rails after some 2 years. While I'm able to pick things up, I'm confused by all the new rails way of doing Javascript and Ajax. Before I left, there was only stimulus...
Chris Oliver replied

Rails for Beginners Part 19: Edit Password Discussion

15
General
Editing the password with an empty string (i.e. not filling the fields and clicking right away on the submit button) doesn't throw any error, Current.user.update(password_params) returns true and t...
Alex replied

Decorating with SimpleDelegator and Modules Discussion

4
General
Hi Chris! Thanks for another great lesson! Something weird happend in the last minutes. There are two videos overlap. ;)
Rodrigo Marques replied

Strict Loading with ActiveRecord Discussion

0
General
Nice to be able to remove dependencies like the Bullet gem and do this all in Rails!
Chris Oliver posted

Interface Segregation Principle Discussion

1
General
I like how this serie changing my point of view. 
Arthur Ariza replied

Refactoring CSV Uploads with ActiveModel::Model Discussion

20
General
Awesome episode, Chris! Would be nice to continue with moving CSV parsing to a background job and adding ajax progress bar to provide visual feedback on import progress
Arthur Ariza replied

The Behaviors Of Super Discussion

1
General
Using `method(:method_name)` and `method(:method_name).super_method` can be incredibly handy for debugging. 🔥 A **super**power if you will. 😜
Ann Cascarano replied

Ruby Module Include Tracking Discussion

6
General
Very nice that you showed how to make it work with Concerns.
fridnorell1 replied

ActiveJob Perform All Later Discussion

0
General
This is handy especially for things like notifications where you need to queue up many separate jobs at once.
Chris Oliver posted

Outbound Email with Headers: In-Reply-To, References and more Discussion

0
General
Thank you Chris for the great series! I am running into a error though on this tutorial when trying to create a post and have it show on the conversations page. ActionController::UnknownFormat (Act...
Damon Clark posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.