Heroku push : Error Build failed I am developing a Ruby on Rails 7 web application that uses the omniauth-linkedin-oauth2 gem for LinkedIn authentica ...
Heroku push : Error Build failed I am developing a Ruby on Rails 7 web application that uses the omniauth-linkedin-oauth2 gem for LinkedIn authentica ...
How can I design a database for storing custom integrations for each client in an application where different clients can have integrations with diffe ...
I attempted to integrate the Sweet Alert 2 java-script library for customising standard alert boxes into a Rails 7 application, but I received the fol ...
Rails console is loading but not accepting any commands .I am unable to even close the console by typing the exit command. I have ruby 3.1.3p185 (2 ...
I'm new to rails, having just finished Michael Hartl's excellent Rails Tutorial. I'm building out another project app loosly following that framework, ...
I have a comments controller that i want to load a partial "create.js.erb" My create.js.erb partial If i refresh the page the comment gets poste ...
I am a rookie and I was trying to learn about how to use Stimulus online and then suddenly my console does not show output(in inspect element) when I ...
In the Rails Active Record model we use scopes, for scopes, we pass the arguments. But my doubt is when we pass the default value to the argument it s ...
I'm learning stimulus and trying to get add a checkbox feature where you can mark an order as complete from the show page without using a form. I foll ...
I wanna change "Author" to "Author_name" in my rails application. So I have used "rename_column" method in the migration, then after running migratio ...
calculate.html.erb of "calc" controller: Form, which do the get request: routes.rb: In terminal, when I submit the form, I see this: calc_ ...
Rails newbie here. I am having trouble with ensuring the presence of at least one "has_many :through" relationship in my users model. I have: I go ...
I am building a basic crud app; with my controller method for updating a task as follows :- Tasks have a boolean field completed. Issue is when ...
My Problem Imagine I've got those models: class Absence << ApplicationRecord belongs_to :user end class Vacation << Absence belongs ...
I'v got problem with Active Storage under Rails 7. I read some posts but all are about Rails 5-6 and some methods was depreciated since then. Proble ...
I'm new to Ruby and Rails, so please forgive me if this is a n00b question. I'm trying to upgrade a very old app (using Ruby 2.3.4 and Rails 5.0.6) to ...
I searched but couldn't find a straightforward answer. I would like to be able to see which partial generated a certain piece of HTML. So when in a vi ...
I added a characteristics column to my Users table, which is handled by Devise. I need it to be of data type array, which I managed as follows: t.tex ...
My delete method for bookmarks does not seem to work, is this a problem with rails 7 or am I doing something wrong. It states that there is no Get met ...
In one of my applications, I want to update the data when someone changes the value in a dropdown. I did that thing with turbo_stream. I have a lot of ...