Accepts_nested_attributes_for, I am getting 'unpermitted parameter: :user' and User not entering to DB.
got the answer, needed to add one line to the new action in AccountsController ``` @account.users.build ```
Ryan Mindigo replied • Solvedgot the answer, needed to add one line to the new action in AccountsController ``` @account.users.build ```
Ryan Mindigo replied • SolvedThank you again this is perfectly what I needed. You're the best teacher I could ever dream of but I hope I don't bother you so much with my issues... By the way I think I would be interested in yo...
Damian Nelwep replied • SolvedAll the navigation is in `app/views/shared/navbar.html.erb` 👍
Chris Oliver replied • SolvedVery cool! Thanks so much. I'll give it a go and report back
S C repliedSo it appears this is the big rub: * From what I can tell from bc3, they create events after the fact about things that have already happened * Kickstarter/the pattern itself definitely prescribe c...
Chris Zempel repliedI have a form with a selectbox which allow to select differents values. When I want to save the form I have an exception : ActiveRecord::AssociationTypeMismatch at xxxxxxxxxxxxxxxxxxxxx S...
Laurent Passebecq postedThanks Jacob... I havent been using the scaffold generator, but I will do in the future to avoid these confusions.
Nelson replied • SolvedHow can you upload images with ActiveStorage from the API? Backend: API Rails Frontend: Reactjs Github: https://github.com/nicobobb/graphql-rails-blog
Nicolás Bobb postedThis looks good. Thanks for sharing!
Ignacio Alonso repliedYou have to add your "immense-atoll-80386" in Apartment::Elevators::Subdomain.excluded_subdomains = ['www', 'immense-atoll-80386'] in apartment.rb configuration. This worked for me.
Vitor Ribas repliedOh that's great to hear, Clint - happy it was a help :)
Amie Fudge replied • Solvedhelp me to statr my first projet with RoR. on installation rails v4.2.10 ( *impossible for my to install the last version => v.5.x*) before create my project with command : `rails new inspiron -...
kara posted • SolvedLook at your foreign/primary key assignments on your Shift model, that should be: ``` belongs_to :user, foreign_key: 'guid', primary_key: 'user_guid' ``` After you adjust the foreign/primary key n...
Jacob Montgomery repliedHello all, I've been trying to figure out this actioncable Websocket error I'm getting on production in an AWS EB environment on an Application Load Balancer. It's a 404 error and also Failed to ...
Benjamin Broestl postedYou might want to revert your foundation-rails gem back to the previous version, or see what's changed because it looks like the `foundation/functions` asset no longer exists like it used to. They ...
Chris Oliver repliedAs always so many ways to get stuff done. I will check out scopes later this evening.
Alan Reid replied • SolvedHow about something like this? `add_breadcrumb "category / #{@title}", categories_path`
Alan Reid repliedHi I am new to ruby n rails. I was working on this old website. This website is hosted on the heroku server. I fixed the code which was required and it didn't install this website on my system yet....
Hemant postedI'm glad you asked. https://developer.salesforce.com/docs/atlas.en-us.platform_connect.meta/platform_connect/canvas_framework_intro.htm Salesforce has amazing documentation on pretty much everyth...
Brandon Buteaux repliedThe details are here https://stackoverflow.com/questions/53350010/how-to-insert-comma-separated-values-in-rails-active-admin-form
rachit474 posted