after updating to ruby 3.1.2 and Rails 7.0.2.3 getting following error while starting rails application: what could be the possible solution, than ...
after updating to ruby 3.1.2 and Rails 7.0.2.3 getting following error while starting rails application: what could be the possible solution, than ...
A cookie associated with a cross-site resource at https://example.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only ...
How to get current and previous financial year datewise in ruby based on current date ? ...
Multiple after_update callbacks with attribute change conditions are triggering only the first one. method_1 is triggered when a model object is up ...
I'm trying to write an API using Ruby on Rails. In my controller class index method is getting called instead of show. Although I am passing parameter ...
Polymorphic relationships don't work when the models are namespaced in rails 3.1. Here is an example: Results in: My question is, how can I work ...
I want to find the action mailer corresponding to a specific mailer view. It seems that there are no mailer action with the name of the mailer view's ...
I have cloned this project from gitlab , I tried to run this in locally but i cant able to run, when I tried to install bundle, this error is coming ...
I am using rails 5 when user is registered in my website i am sending an email for him for account approval.I want to set website logo with email. How ...
I am trying to move my project to production, trying to gives me an error, without specifying in which file it is. how do I findout in which fil ...
This is a smelly code and the alias method has been used at many places . Now I would want to call the actuals rails .destory method thereby deleting ...
I need to get the following output in rails how do i do it? I tried: ...
Wondering if there is a way to disable only the first nil option in a list of options. There are multiple options with nil values. For example if we ...
Using Rails 4 and ruby 2.2, I have my User model which has following attributes username email active Now I need to create a searc ...
I have book model which has title, page_no and description. There is another model Image. I have used paperclips to upload the images.I need to cre ...
When updating car info, the validation process fails because I have validates_uniqueness_of :number I need validation to pass, if the original valu ...
I am currently using devise for authentication which generates user.rb and controller for user, Welcome page(root page after authentication) which is ...
I have visits who belongs_to owner, and belongs_to car through two t.references, owner_id keeps getting nil when I create new visit through @car.visit ...
My validations work fine and my save.js.erb but no fields get under class 'field_with_errors'. ...
I am getting the error undefined method `to_i' for :offstfsal:Symbol in activeadmin. Looks like to_i has been removed. Any suggestion would be helpful ...