Re: [Rails-core] Using "IS DISTINCT FROM" instead of "!=" for inequality checks

2016-03-19 Thread Matt Jones
> On Mar 16, 2016, at 3:03 PM, Jeremy McNevin wrote: > > I'd be interested in hearing thoughts about changing the generated SQL for a > negated equality comparison from using "!=" to "IS DISTINCT FROM" (where > supported), since the latter has less-surprising handling of

[Rails-core] remove Rails dependency on jQuery

2016-03-19 Thread Aaron Lasseigne
A small set of Rails features are dependent on the inclusion of jQuery. Basically, it's everything UJS does. Including all of jQuery to support UJS feels like a heavy weight solution. In the past almost everyone was using jQuery so it seemed reasonable to include. The explosion of JS in the

Re: [Rails-core] Using "IS DISTINCT FROM" instead of "!=" for inequality checks

2016-03-19 Thread Sean Griffin
Yeah, we definitely could never make this change. It'd be too major of a backwards incompatible change. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Rails-core] Using "IS DISTINCT FROM" instead of "!=" for inequality checks

2016-03-19 Thread Jeremy McNevin
I'd be interested in hearing thoughts about changing the generated SQL for a negated equality comparison from using "!=" to "IS DISTINCT FROM" (where supported), since the latter has less-surprising handling of NULL values. For example, with the following bit of AR: User.where.not(parent_id:

Re: [Rails-core] remove Rails dependency on jQuery

2016-03-19 Thread Roque Pinel
Hi Aaron, That is one of the goals of this year's GSoC: https://github.com/railsgsoc/ideas/wiki/2016-Ideas#implement-ujs-using-native-javascript -- Roque Pinel On Thu, Mar 17, 2016 at 1:38 AM, Aaron Lasseigne wrote: > A small set of Rails features are dependent on