I am using cell to render Navigation Bar for current_user devise. But went i try to render page i get an error. I am using rails 7 and ruby 3.0.2 Err ...
I am using cell to render Navigation Bar for current_user devise. But went i try to render page i get an error. I am using rails 7 and ruby 3.0.2 Err ...
I'm unable to install this, Jest Testing Framework setup please help me with is issue Terminal:-> PS C:\Users\Akhilesh\Documents\GitHub\test-lwc& ...
I am trying to create a registration form with Trailblazer and validation setup using Dry-Validation. I hit a snag which seems to be related to virtua ...
I am trying out Reform using the reform-rails gem for the first time. I am trying to use it as a form object, do some validation and then persist it t ...
I'm trying to create an email template to send to the user when his case is closed. In this email there will be a button and if the user clicks on it ...
I've been spent a lot of time and still trying figure out how to pass a result(return) of operation to my view. As regarding documentation I created c ...
Given an operation like and the result of run(MyOperation), how can I tell which step of the operation failed? If the result object doesn't contai ...
My problem is that I want to mock my custom validation method that returns some data from DB ( list of ids - to check if given id is in my DB ). So l ...
So I have my reform object, and I want to parse my string data before validation, to be able to use dry-validation required(:my_field).filled(gt?: 0) ...
I ran into one problem that I cannot solve on my own for a week - I am desperate. I got a Rails 5.2 project that has a Trailblazer on board. In one p ...
I have a model with amount parameter that have to be greater than zero. My form asks a user for a number to subtract from the model's amount. How do I ...
I am using Trailblazer 2.1 (and dry-validation (0.11.1) consequently) in a Rails 5 project. I have 2 different language locales bound to the user pro ...
I have this operation: When I run the operation, I get this output: The password of the model is not encrypted in the database, I believe this i ...
I have a simple Trailblazer Operation as follow: When I run the operation under the rails console, that's the output: If I remove the Contract ...
We are looking at use the reform gem for validating input. One of the issues we are facing is that we accept input in this format: so if we were t ...
I have the following test code: This Code test a controller class method: The action Method: op is the operation to execute the commands (Tra ...
I would like to pass in a string variable that will be used as the property name. For example, if I have the variable property_name, which contains a ...
I have a has_many :through association between some models, which determine which datasets are visible on certain dashboards. The form for creating ...
Using the neo4jrb/neo4j gem (8.x), I know it is possible to run multiple queries inside a single transaction like so But it possible to open a tran ...
So I've been over Traiblazer and Reform documentation and I often see this kind of code Notice the def populate_songs!(fragment:, **) definition? ...