Avi, this was exactly what I needed. I'm glad you took a detour and use pry to inspect the form builder. Thank you so much!
@RB-hj7qc6 жыл бұрын
Best Rails video I've watched, and I've watched a lot of them. Only one to go below the hood and explain things really well.
@preferablyoutside7 жыл бұрын
this was enormously helpful. thank you so much
@AviFlombaum7 жыл бұрын
Very welcome!
@olegnikitashin7 жыл бұрын
Great explanation!) So cool that you dig deeper! Please do more!)
@mikedilley6 жыл бұрын
To anyone out there who is coding along with this video, Rails 5 made a change that, by default, requires an associated record to be present in order to persist a record that has a belongs_to association. This default can be overridden. Check out this blog post for more details. blog.bigbinary.com/2016/02/15/rails-5-makes-belong-to-association-required-by-default.html After this change, the code-a-long will go smoothly.
@paulodetarsobezerra84828 жыл бұрын
Following your tutorial I ran into an error early on. When I created a user. irb(main):008:0> u.errors.messages => {:team=>["must exist"]} Then, I first had to create a team to add to a User when it is created. Why this error does not happen to you?