I am trying to implement a dynamic function in Rails 7, the method is in the model.rb and i want to show the result on the onblur function of the field, any ideas how can I solve it using ajax?
Thanks in advance