Ruby Rails Design Table

I have a table named OrderingRequest, i am using state_event_machine to
record different state,i have states called order_place and
order_reject,so when i click order_place a dropdown with 3 values should
display and also some other values in drop down should display when i
select order_reject, my question is how to design this order_place and
order_reject data and associate with the my current table.

Ruby on Rails makes it much easier and more fun. It includes everything
you need to build fantastic applications, and you can learn it with the
support of our large, friendly community.

Ruby on Rails is open source software, so not only is it free to use,
you can also help make it better.

If you want some tutorial → can help
you .