def action_cable_is_speaking_in?(message)
message =~ /#{ActiveRecordMigrationUi.ac_channel_class_name}( is)? transmitting/
end
Selecting the ActiveRecordMigrationUi.ac_channel_class_name part and doing CTRL + ALT + CMD + R raises this error.
Atom: 1.37.0 x64
Electron: 2.0.18
OS: Mac OS X 10.14.5
Thrown From: ror-refactor package 0.3.1
Stack Trace
Uncaught TypeError: grammar.tokenizeLine is not a function
At /Users/guillaumehain/.atom/packages/ror-refactor/lib/tools/extract-code.js:103
TypeError: grammar.tokenizeLine is not a function
at ExtractCode.extractMethodOrLine (/packages/ror-refactor/lib/tools/extract-code.js:103:30)
at ExtractCode.refactor (/packages/ror-refactor/lib/tools/extract-code.js:49:14)
at HTMLElement.rorRefactorExtractCode (/packages/ror-refactor/lib/ror-refactor.js:18:59)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349922)
at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1214917)
at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1211051)
at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285128)
Having a piece of code like that :
Selecting the
ActiveRecordMigrationUi.ac_channel_class_name
part and doingCTRL
+ALT
+CMD
+R
raises this error.Atom: 1.37.0 x64 Electron: 2.0.18 OS: Mac OS X 10.14.5 Thrown From: ror-refactor package 0.3.1
Stack Trace
Uncaught TypeError: grammar.tokenizeLine is not a function
Commands
Non-Core Packages