{"action":"opened","issue":{"url":"https://api.github.com/repos/ctran/annotate_models/issues/400","repository_url":"https://api.github.com/repos/ctran/annotate_models","labels_url":"https://api.github.com/repos/ctran/annotate_models/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/ctran/annotate_models/issues/400/comments","events_url":"https://api.github.com/repos/ctran/annotate_models/issues/400/events","html_url":"https://github.com/ctran/annotate_models/issues/400","id":175574445,"number":400,"title":"Wrappers are not being generated for Rails 4.2.6 and Ruby 2.3.1","user":{"login":"binarymason","id":12122953,"avatar_url":"https://avatars.githubusercontent.com/u/12122953?v=3","gravatar_id":"","url":"https://api.github.com/users/binarymason","html_url":"https://github.com/binarymason","followers_url":"https://api.github.com/users/binarymason/followers","following_url":"https://api.github.com/users/binarymason/following{/other_user}","gists_url":"https://api.github.com/users/binarymason/gists{/gist_id}","starred_url":"https://api.github.com/users/binarymason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarymason/subscriptions","organizations_url":"https://api.github.com/users/binarymason/orgs","repos_url":"https://api.github.com/users/binarymason/repos","events_url":"https://api.github.com/users/binarymason/events{/privacy}","received_events_url":"https://api.github.com/users/binarymason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-07T18:32:39Z","updated_at":"2016-09-07T18:32:39Z","closed_at":null,"body":"Here is my `auto_annotate_models.rake`:\r\n\r\n\r\n```ruby\r\n# NOTE: only doing this in development as some production environments (Heroku)\r\n# NOTE: are sensitive to local FS writes, and besides -- it's just not proper\r\n# NOTE: to have a dev-mode tool do its thing in production.\r\nif Rails.env.development?\r\n  task :set_annotation_options do\r\n    # You can override any of these by setting an environment variable of the\r\n    # same name.\r\n    Annotate.set_defaults({\r\n      'position_in_routes'      => \"before\",\r\n      'position_in_class'       => \"before\",\r\n      'position_in_test'        => \"before\",\r\n      'position_in_fixture'     => \"before\",\r\n      'position_in_factory'     => \"before\",\r\n      'position_in_serializer'  => \"before\",\r\n      'show_foreign_keys'       => \"true\",\r\n      'show_indexes'            => \"true\",\r\n      'simple_indexes'          => \"false\",\r\n      'model_dir'               => \"app/models\",\r\n      'include_version'         => \"false\",\r\n      'require'                 => \"\",\r\n      'exclude_tests'           => \"false\",\r\n      'exclude_fixtures'        => \"false\",\r\n      'exclude_factories'       => \"false\",\r\n      'exclude_serializers'     => \"false\",\r\n      'ignore_model_sub_dir'    => \"false\",\r\n      'skip_on_db_migrate'      => \"false\",\r\n      'format_bare'             => \"true\",\r\n      'format_rdoc'             => \"false\",\r\n      'format_markdown'         => \"false\",\r\n      'sort'                    => \"false\",\r\n      'force'                   => \"false\",\r\n      'trace'                   => \"false\",\r\n      'wrapper_open'            => \"TEST TEST TEST\",\r\n      'wrapper_close'           => \"TEST TEST TEST\"\r\n    })\r\n  end\r\n\r\n  Annotate.load_tasks\r\nend\r\n```\r\n\r\nRunning `rake db:migrate` does generate annotations, but no wrappers. 😕 "}}
{"actor":{"display_login":"binarymason"}}