rystraum.com
Making ActiveRecord associations readonly based on state
My use-case: * Trip has many destinations and travelers * Trip states are: draft -> checked out -> paid draft -> checked out -> failed (which should allow them to edit again) * Trip wor…