Form with references field
Hello, Yes, I checked the database and saw that my error was when I generated the model, putting the city_id:references field instead of just city:references. Thanks
Christian Herber Santos repliedHello, Yes, I checked the database and saw that my error was when I generated the model, putting the city_id:references field instead of just city:references. Thanks
Christian Herber Santos replied+1
Michael Prince repliedDifficult choice indeed. Ready to discuss this in public? What parts do you consider in the decision?
robert repliedI need to query a collection of entries based on a range of dates and then sum an attribute of the sub-entry using the delegated_type method. Something like this: ``` Entry.where(performed_at: Da...
William Cunningham postedhi guys i am trying to build a blog platform like hashnode/substack where user register on root domain and create blog. I am currently using devise and i have set up subdomain routing. My question ...
Henry postedUpdating a user profile when they signed up with Facebook omniauth and don't have a traditional password can be a bit tricky. To enable users to update their passwords, you can consider adding a se...
Ubuntus repliedHi, i am also looking for similar multistep form. hotwire lesson on this topic would be amazing
Fatih repliedthank you for sharing.
mariakennet repliedHi, I am able to download files from s3 as a zip by using below mentioned code. require 'open-uri' def download_all_files folder_path = "#{Rails.root}/public/downloads/" zipfile_name = "#{...
mamatharao repliedHey Alex, You'll either want to run the rails server in its own terminal (without bin/dev) or switch to using overmind instead of foreman. I personally use overmind and it lets you connect to each...
Chris Oliver repliedWhen you see an error like this, you need to try installing the gem that won't install and check its specific error message for the next step. Try this, then troubleshoot that error: gem install b...
Robert Ault repliedGreat work!!
Vern1957 replied • SolvedHello everyone, I'm facing an issue with session persistence in my Rails API application. I've set up a session in one controller action (`nonce`), but when I try to access it in another action (`...
Antoine Serval posted