I'm creating a booking engine for personal trainers to make bookings with their clients.
Each booking has_one workout template which in turn has_many exercises. When the personal trainer creates the booking I'd like them to be able to edit the associated workout template as a completely fresh instance of the template. My current thinking is to use the vestal_versions[1] or paper_trail[2] gem to make each booking a new version of the workout. I imagine I would then reference either the version.id, updated_by or updated_at in order to find the version in the future. How far off the right approach am I? Is there a pattern I should be digging into to understand this problem better? I'm sure you can tell I'm new to Ruby/Rails and programming and any help would be greatly appreciated. [1] https://github.com/laserlemon/vestal_versions [2] https://github.com/airblade/paper_trail -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.