How to update related attributes while saving objects in Rails Active Record for Rails 2

前端 未结 0 1458
南旧
南旧 2021-01-12 08:07

My current logic is, taking two inputs from form where one is primary book and one is secondary book and save it to database with is_primary check being true for primary boo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题