Adam Wead

Results 50 comments of Adam Wead

@dchandekstark looks good to me. If this was implemented, we need to tell folks that if they use this they'd need to remove any calls to .create_version otherwise they'd have...

Which kind of brings us back to square one. @dchandekstark is having to call .create_version on your resources prior to saving not a good solution for your use case?

@dchandekstark you could create a module: ``` ruby def save self.create_version if versionable? super end ``` include that on all your files and then set self.versionable as appropriate. You'll also...

@terrellt @cbeer Yeah, that was just a mock-up, so my code example is probably wrong. I wondered if we needed `is_direct_container_for` as well and now thinking on it more it...

This has been implemented in: 3facdba2b7a07cebde590bdbce976b376d0f8e76 (direct containers) 7a36f432ef2023b0fce0a876d29d72aefc596b44 (indirect containers)

@terrellt I wouldn't think so, because we'd only want to find the container's parent, such as the Work or GenericFile. This class would have the `/files` or `/members` path that...