{"action":"created","issue":{"url":"https://api.github.com/repos/kreativgebiet/rich/issues/83","labels_url":"https://api.github.com/repos/kreativgebiet/rich/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/kreativgebiet/rich/issues/83/comments","events_url":"https://api.github.com/repos/kreativgebiet/rich/issues/83/events","html_url":"https://github.com/kreativgebiet/rich/issues/83","id":13882647,"number":83,"title":"Rich not being displayed in Rails Admin","user":{"login":"BartlomiejSkwira","id":1316517,"avatar_url":"https://avatars.githubusercontent.com/u/1316517?v=3","gravatar_id":"","url":"https://api.github.com/users/BartlomiejSkwira","html_url":"https://github.com/BartlomiejSkwira","followers_url":"https://api.github.com/users/BartlomiejSkwira/followers","following_url":"https://api.github.com/users/BartlomiejSkwira/following{/other_user}","gists_url":"https://api.github.com/users/BartlomiejSkwira/gists{/gist_id}","starred_url":"https://api.github.com/users/BartlomiejSkwira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BartlomiejSkwira/subscriptions","organizations_url":"https://api.github.com/users/BartlomiejSkwira/orgs","repos_url":"https://api.github.com/users/BartlomiejSkwira/repos","events_url":"https://api.github.com/users/BartlomiejSkwira/events{/privacy}","received_events_url":"https://api.github.com/users/BartlomiejSkwira/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kreativgebiet/rich/labels/Fix-me","name":"Fix-me","color":"eb6420"},{"url":"https://api.github.com/repos/kreativgebiet/rich/labels/Urgent","name":"Urgent","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-05-02T09:05:27Z","updated_at":"2016-01-19T14:06:08Z","closed_at":null,"body":"I use Rails Admin and I wanted to setup Rich with it. After bundle install I've run:\r\n```\r\nrails generate rich:install\r\nrake db:migrate\r\n```\r\nI use Devise with model name Admin, so I modified `/config/initializers/rich.rb`:\r\n```\r\nconfig.authentication_method = :authenticate_admin!\r\n```\r\nHere is my model config in `config/initializers/rails_admin.rb`:\r\n\r\n```\r\nconfig.model Article do |a|\r\n\r\n    edit do\r\n\r\n      field :trailer_text, :rich_editor do\r\n        config({\r\n          :insert_many => true\r\n        })\r\n      end\r\n\r\n      field :news_text, :rich_editor do\r\n        config({\r\n          :insert_many => true\r\n        })\r\n      end\r\n    end\r\n  end\r\n```\r\n\r\nHere is how it all looks like:\r\n![untitled](https://f.cloud.github.com/assets/1316517/453082/cd82b214-b306-11e2-811a-79dee82d8ce6.jpg)\r\n\r\n\r\n* There are no javascript errors, just a message about fontawesome: \"Resource interpreted as Font but transferred with MIME type application/font-woff: \"http://localhost:3000/assets/fontawesome-webfont.woff\". \"\r\n* CKEditor and Rick Javascript is loaded\r\n* I've tried latest gem code, disabled all Chrome plugins and cleared cache\r\n\r\nAny ideas how to debug this would be great!\r\n\r\n[edit]: now it started to display something, link names without styling, but still no editor:\r\n![untitled2](https://f.cloud.github.com/assets/1316517/453384/5e60b6f8-b313-11e2-88f4-866c96e0e448.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/kreativgebiet/rich/issues/comments/172863401","html_url":"https://github.com/kreativgebiet/rich/issues/83#issuecomment-172863401","issue_url":"https://api.github.com/repos/kreativgebiet/rich/issues/83","id":172863401,"user":{"login":"yasinishyn","id":2759317,"avatar_url":"https://avatars.githubusercontent.com/u/2759317?v=3","gravatar_id":"","url":"https://api.github.com/users/yasinishyn","html_url":"https://github.com/yasinishyn","followers_url":"https://api.github.com/users/yasinishyn/followers","following_url":"https://api.github.com/users/yasinishyn/following{/other_user}","gists_url":"https://api.github.com/users/yasinishyn/gists{/gist_id}","starred_url":"https://api.github.com/users/yasinishyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasinishyn/subscriptions","organizations_url":"https://api.github.com/users/yasinishyn/orgs","repos_url":"https://api.github.com/users/yasinishyn/repos","events_url":"https://api.github.com/users/yasinishyn/events{/privacy}","received_events_url":"https://api.github.com/users/yasinishyn/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T14:06:08Z","updated_at":"2016-01-19T14:06:08Z","body":"I've merged this [PR](https://github.com/kreativgebiet/rich/pull/198) locally, and it helped for me."}}