-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
Having,
Unable to find source-code formatter for language: erb. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
class EventObserver < Mongoid::Observer
observe :comment, :message, :photo
...
end
Now when doing a EventObserver.observed_classes it should return an array of classes ([Comment, Message, Photo]), but it returns NameError: uninitialized constant Event.
This was a know bug in Rails.