Gordon McNaughton

Results 14 issues of Gordon McNaughton

After upgrading to draft-js 0.11.1, the following deprecation warnings appear in the console: ``` Supplying an `onDownArrow` prop to `DraftEditor` has been deprecated. If your handler needs access to the...

Examples and documentation still use the draft-js v0.9 API for creating entities (`Entity.create` and `Entity.get`). We should migrate these examples to the [v0.10 API](https://draftjs.org/docs/v0-10-api-migration.html) as we move apps forward to...

Comments containing the word 'rendered' mistakenly get interpreted as a dependency on a template called 'eds/ed'. ``` erb # app/views/sample/sample.html.erb ``` ``` $ rake cache_digests:nested_dependencies TEMPLATE=sample/sample [ "eds/ed" ] ```...

I'm using STI to store info about attachments (images and non-images) in the DB. Because it's STI, the table includes one meta column shared by both classes. When I upload...

feature

It would be helpful if the **Security** section of the README included an example of how to enable Rack::JSONP only for certain actions. It currently reads: "...so think about if...

Trying to serialize Mida items to json appears to trigger an infinite loop: ``` ruby require 'open-uri' require 'mida' url = 'http://www.youtube.com/watch?v=X4kyojtHJb0' doc = nil open(url) { |f| doc =...

Fixes #2 (calling `removeClass()` with no arguments does not remove all classes). jQuery's behavior changed somewhere between 1.4.4 and 1.11.3; the 'empty' test case works against 1.4.4 but not 1.11.3...

Per the [jQuery docs](https://api.jquery.com/removeclass/), calling `removeClass()` with no arguments should remove all classes: > If a class name is included as a parameter, then only that class will be removed...

Following the instructions in the readme gives a mass assignment error in Rails 3.2. May want to add the `without_protection` flag to the sample: ``` Announcement.create({:body => 'This is my...

When I try to run `Mass.print` from rails console (or inside my app), it thinks for a long time and then errors with: ``` ================================================== Objects within [] namespace ==================================================...