All threads / Move data from one table items to another table items

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Move data from one table items to another table items

Haider Ali asked in Rails

Hi, hope you are fine. I am having a task in which BasketMenu has many BasketMenuItems, and there is another relation of OrderMenu has many OrderMenuItem, and BasketMenu has many OrderMenu. My task is to move the BasketMenuItems to all the OrderMenuItems of OrderMenu. I am struggling this task from 4 days ago and still no progress please guide me. Thanks

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 54,645+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.