I want to make a table like a karaoke bar.

Asked 2 years ago, Updated 2 years ago, 51 views

I use ruby on rails

  • Initial#Ah

    • id
    • name
    • initial_group_id
  • InitialGroup#Akasana _yomi

    • id
    • name

Initial#Ah~

  • id
  • name
  • initial_group_id

InitialGroup #Akasana Mayawa

  • id
  • name

There is a model called

I'd like to use this to create a "Aiueo Table" like Denmok in karaoke, but I don't know how to run an efficient program.

The table tag looks like this.

that's it
close to
to make light of
be in a hurry
here and there

ruby-on-rails ruby

2022-09-30 20:46

1 Answers

I think the way you use the model is the opposite.
Instead of registering your work in the model "A",
I think the normal design is that there is a column called initial in the work.
You can make the Aiueo table with solid writing and throw it as a parameter with a link.


2022-09-30 20:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.