Jonathan Hefner

Results 26 issues of Jonathan Hefner

Sugar.js is wonderful and makes writing JavaScript much more enjoyable. As I've been looking into [TypeScript](http://www.typescriptlang.org/) and some its tooling, I've been thinking Sugar.js would be an excellent complement. IntelliSense-like...

Docs
Feature

**What problem is this PR intended to solve?** Allow global definition of XPath functions, e.g. ```ruby module MyFunctions def regex(node_set, pattern) node_set.find_all { |node| node['some_attribute'] =~ /#{pattern}/ } end end...

state/pr-under-review

This fleshes out the "Choices from a Collection of Complex Objects" section a bit more, explicitly mentioning associations and proper field naming. --- /cc @ghiculescu Does this address your concern...

docs

When a client follows an HTTP 302 redirect, it will typically use the same HTTP method as the original request. This can cause issues when, for example, redirecting an XHR...

actionpack
railties
docs

Follow-up to #45487, which was reverted by #45753. This factors `validates_secure_password` out of `has_secure_password`, to provide an API for conditionally requiring a password. For example: ```ruby class Account include ActiveModel::SecurePassword...

activemodel

This PR is split into two commits. The 1st commit allows records from already-loaded relations to be used when performing post-hoc preloads of downstream associations. The 2nd commit modifies the...

activerecord

In #45476, `ActiveRecord::Base.destroy_association_async_job` was made to accept a string which would be lazily constantized, to avoid loading `ActiveJob::Base` too soon. However, due to the way `class_attribute` values are written, *each...

actionmailer
activerecord
activesupport
railties

## What was the end-user or developer problem that led to this PR? When using an inline gemfile that performs installation (i.e. `gemfile(true) {}`), newly installed gems can conflict with...

This reduces "conflicting chdir during another chdir block" warnings when calling `Rake::Application#run` inside a `Dir.chdir` block.

### Issue description Would it be feasible to pre-populate `Aws.config` from the runtime environment? For example, if `ENV["AWS_REGION"]` is set (and non-empty), then by default `Aws.config[:region] == ENV["AWS_REGION"]`. Likewise for...

feature-request
needs-major-version
p3