{"action":"created","issue":{"url":"https://api.github.com/repos/jeremyevans/autoforme/issues/4","labels_url":"https://api.github.com/repos/jeremyevans/autoforme/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jeremyevans/autoforme/issues/4/comments","events_url":"https://api.github.com/repos/jeremyevans/autoforme/issues/4/events","html_url":"https://github.com/jeremyevans/autoforme/issues/4","id":106633764,"number":4,"title":"Autoforme's models overrides custom Forme config","user":{"login":"badosu","id":347552,"avatar_url":"https://avatars.githubusercontent.com/u/347552?v=3","gravatar_id":"","url":"https://api.github.com/users/badosu","html_url":"https://github.com/badosu","followers_url":"https://api.github.com/users/badosu/followers","following_url":"https://api.github.com/users/badosu/following{/other_user}","gists_url":"https://api.github.com/users/badosu/gists{/gist_id}","starred_url":"https://api.github.com/users/badosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badosu/subscriptions","organizations_url":"https://api.github.com/users/badosu/orgs","repos_url":"https://api.github.com/users/badosu/repos","events_url":"https://api.github.com/users/badosu/events{/privacy}","received_events_url":"https://api.github.com/users/badosu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-15T20:00:47Z","updated_at":"2015-09-15T20:36:52Z","closed_at":"2015-09-15T20:28:50Z","body":"I use a special config to handle Bootstrap 3 forms with Forme, whenever I load autoforme it gets overriden by the default config, on my website and on the admin instead of just locally.\r\n\r\nI was able to fix this by commenting this line: https://github.com/jeremyevans/autoforme/blob/master/lib/autoforme/models/sequel.rb#L14\r\n\r\nOn possible solution would be to ask the user to use the plugin explicitly when loading forme or checking if its already loaded, (e.g. by checking if it responds to `input_html`)."},"comment":{"url":"https://api.github.com/repos/jeremyevans/autoforme/issues/comments/140530152","html_url":"https://github.com/jeremyevans/autoforme/issues/4#issuecomment-140530152","issue_url":"https://api.github.com/repos/jeremyevans/autoforme/issues/4","id":140530152,"user":{"login":"jeremyevans","id":3846,"avatar_url":"https://avatars.githubusercontent.com/u/3846?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyevans","html_url":"https://github.com/jeremyevans","followers_url":"https://api.github.com/users/jeremyevans/followers","following_url":"https://api.github.com/users/jeremyevans/following{/other_user}","gists_url":"https://api.github.com/users/jeremyevans/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyevans/subscriptions","organizations_url":"https://api.github.com/users/jeremyevans/orgs","repos_url":"https://api.github.com/users/jeremyevans/repos","events_url":"https://api.github.com/users/jeremyevans/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyevans/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T20:36:52Z","updated_at":"2015-09-15T20:36:52Z","body":"The thing is, the configurations should never change the Sequel plugin, these should be configurations that are solely at the Forme level, not at the Sequel level.  I would opine that separate Sequel plugins for BS2 and BS3 means you are trying to fix something at the wrong level."}}