Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Document < ActiveRecord::Base
- has_one :request
- has_many :workflows, :dependent => :destroy
- class Request < ActiveRecord::Base
- belongs_to :document
- class DocumentWorkflow < ActiveRecord::Base
- belongs_to :document
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement