Posts by AMachado • 1 point
1 post
-
0
votes2
answers40
viewsA: Help with #Rails relationships
To be able to call @request.area_shared you need a relation 1(request) to 1(area_shared). Same as area_shared for area if that’s what you want. (@request.area_shared.area.name) area name #belongs_to…
ruby-on-railsanswered AMachado 1