Re: [Rails] Uglifier::Error: Unexpected token: punc (}) after installing ckeditor

2018-04-09 Thread fugee ohu
On Monday, April 9, 2018 at 2:07:32 PM UTC-4, Walter Lee Davis wrote: > > How did you install ckeditor? Did you use a gem, or just the JS directly? > It sounds as though the JS minifier is choking on the syntax in the library > code, so that leads me to think you are using a gem, and putting

Re: [Rails] Uglifier::Error: Unexpected token: punc (}) after installing ckeditor

2018-04-09 Thread fugee ohu
On Monday, April 9, 2018 at 2:07:32 PM UTC-4, Walter Lee Davis wrote: > > How did you install ckeditor? Did you use a gem, or just the JS directly? > It sounds as though the JS minifier is choking on the syntax in the library > code, so that leads me to think you are using a gem, and putting

Re: [Rails] Uglifier::Error: Unexpected token: punc (}) after installing ckeditor

2018-04-09 Thread fugee ohu
On Monday, April 9, 2018 at 2:07:32 PM UTC-4, Walter Lee Davis wrote: > > How did you install ckeditor? Did you use a gem, or just the JS directly? > It sounds as though the JS minifier is choking on the syntax in the library > code, so that leads me to think you are using a gem, and putting

Re: [Rails] Uglifier::Error: Unexpected token: punc (}) after installing ckeditor

2018-04-09 Thread Walter Lee Davis
How did you install ckeditor? Did you use a gem, or just the JS directly? It sounds as though the JS minifier is choking on the syntax in the library code, so that leads me to think you are using a gem, and putting the JS code in the Asset Pipeline. You may want to look into including this

[Rails] Uglifier::Error: Unexpected token: punc (}) after installing ckeditor

2018-04-09 Thread fugee ohu
After installing ckeditor I'm having this uglifier issue Uglifier::Error: Unexpected token: punc (}) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Compare hashes and report where the change was

2018-04-09 Thread Abdel Latif
Hi, I would like to compare two hashes, for example: array1 = [{'id' => 124, 'name' => 'Kamal', 'job' => 'manager'},{'id' => 314, 'name' => 'John', 'job' => 'developer'}] array2 = [{'id' => 124, 'name' => 'Kamal', 'job' => 'managerZ'},{'id' => 314, 'name' => 'JohnDD', 'job' => 'developer'}]

[Rails] ActiveSupport::Dependencies#load_missing_constant algorithm

2018-04-09 Thread Kristijan Novoselić
Hi all! Recently I've noticed an issues with autoloading of a specific classes in my app. I've created a small project which reproduces the issue: https://github.com/knovoselic/autoload_repro/ All changes required for this repro are part of this commit: