Skip to content

Conversation

pinnymz
Copy link

@pinnymz pinnymz commented Feb 27, 2012

If the annotate gem happens to be loaded into the environment, the dynamic finders (find_by_name, find_by_id, etc.) will always return nil.

@pinnymz
Copy link
Author

pinnymz commented Feb 27, 2012

This issue is actually not a problem with annotate_models, because the patch is only intended to load when calling the annotation rake task. However, it is making it difficult to create an extension - see pinnymz/migration_comments#2

@pinnymz
Copy link
Author

pinnymz commented Feb 27, 2012

Refactoring the patch to a separate file was the simplest solution I could come up with, please let me know if you come up with any better options

@alexch alexch merged commit aae8238 into ctran:master Jun 8, 2012
@ctran ctran added the released label Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants