{"action":"created","issue":{"url":"https://api.github.com/repos/nviennot/nobrainer/issues/225","repository_url":"https://api.github.com/repos/nviennot/nobrainer","labels_url":"https://api.github.com/repos/nviennot/nobrainer/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/nviennot/nobrainer/issues/225/comments","events_url":"https://api.github.com/repos/nviennot/nobrainer/issues/225/events","html_url":"https://github.com/nviennot/nobrainer/issues/225","id":170688194,"number":225,"title":"Fatal Error with spring and user model","user":{"login":"choonggg","id":3957744,"avatar_url":"https://avatars.githubusercontent.com/u/3957744?v=3","gravatar_id":"","url":"https://api.github.com/users/choonggg","html_url":"https://github.com/choonggg","followers_url":"https://api.github.com/users/choonggg/followers","following_url":"https://api.github.com/users/choonggg/following{/other_user}","gists_url":"https://api.github.com/users/choonggg/gists{/gist_id}","starred_url":"https://api.github.com/users/choonggg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choonggg/subscriptions","organizations_url":"https://api.github.com/users/choonggg/orgs","repos_url":"https://api.github.com/users/choonggg/repos","events_url":"https://api.github.com/users/choonggg/events{/privacy}","received_events_url":"https://api.github.com/users/choonggg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-11T16:27:32Z","updated_at":"2016-08-12T13:46:19Z","closed_at":"2016-08-11T16:40:45Z","body":"Not sure if it's a nobrainer or devise-nobrainer issue.\r\n\r\nGotten fatal error `RuntimeError: Fatal: The model 'User' is already registered and partially loaded.` when using devise-nobrainer. No class methods were declared but fatal error was raised and this is the only model in the app.\r\n\r\nThe only way to get rid of this is to kill spring and restart the app.\r\n\r\nThis is how my `User` model looks like\r\n```\r\nclass User\r\n  include NoBrainer::Document\r\n  include NoBrainer::Document::Timestamps\r\n  # Include default devise modules. Others available are:\r\n  # :confirmable, :lockable, :timeoutable and \r\n  devise :registerable, :rememberable, :trackable, :omniauthable, omniauth_providers: [:facebook]\r\n\r\n  ## Rememberable\r\n  field :remember_created_at, :type => Time\r\n  ## Trackable\r\n  field :sign_in_count,      :type => Integer, :default => 0\r\n  field :current_sign_in_at, :type => Time\r\n  field :last_sign_in_at,    :type => Time\r\n  field :current_sign_in_ip, :type => String\r\n  field :last_sign_in_ip,    :type => String\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/nviennot/nobrainer/issues/comments/239450262","html_url":"https://github.com/nviennot/nobrainer/issues/225#issuecomment-239450262","issue_url":"https://api.github.com/repos/nviennot/nobrainer/issues/225","id":239450262,"user":{"login":"choonggg","id":3957744,"avatar_url":"https://avatars.githubusercontent.com/u/3957744?v=3","gravatar_id":"","url":"https://api.github.com/users/choonggg","html_url":"https://github.com/choonggg","followers_url":"https://api.github.com/users/choonggg/followers","following_url":"https://api.github.com/users/choonggg/following{/other_user}","gists_url":"https://api.github.com/users/choonggg/gists{/gist_id}","starred_url":"https://api.github.com/users/choonggg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choonggg/subscriptions","organizations_url":"https://api.github.com/users/choonggg/orgs","repos_url":"https://api.github.com/users/choonggg/repos","events_url":"https://api.github.com/users/choonggg/events{/privacy}","received_events_url":"https://api.github.com/users/choonggg/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T13:46:19Z","updated_at":"2016-08-12T13:46:19Z","body":"Cool, thanks for keeping this gem alive :+1:"}}
{"actor":{"display_login":"choonggg"}}