Kurtis Rainbolt-Greene

Results 100 issues of Kurtis Rainbolt-Greene

I'm using a collection property to handle scopes in ActiveRecord. Example: ``` ruby class Cart has_many :items end class Item belongs_to :product, polymorphic: true belongs_to :cart scope :shoes, -> {...

See also: https://discourse.drone.io/t/status-500-issue-at-cloud-drone-io-for-push-webhooks-on-github/3266 Here's the logs: ``` {"commit":"eea3eef8056c9c1bdf69537a1c1ac71a93946c2c","error":"Not Found","event":"push","level":"warning","msg":"trigger: cannot find yaml","ref":"refs/heads/feature/SR-777","repo":"core/second-reef-api","time":"2019-02-13T00:45:24Z"} ```

So lets say you have these routes: service a (urlprefix-example.com/a) service b (urlprefix-/) service c (urlprefix-carl.example.com/) It would be very handy to have the ui show me which route will...

Would the owner of this library desire an update to the new code? It looks like it deviates in 3 ways: 1. (major) The module is now called with `new().call()`...

Latest ruby, latest rails, latest logstash-logger ``` if ENV.key?("LOGSTASH_ORIGIN") config.autoflush_log = true config.logstash.uri = ENV.fetch("LOGSTASH_ORIGIN") config.logstash.customize_event do |event| event.merge!({ "application-name" => "sr-warehouse" }) end end ``` Doesn't seem to set...

My `logstash-logger` and `lograge` setup: ``` ruby config.logstash.uri = ENV.fetch("LOGSTASH_ORIGIN") config.logstash.formatter = :json config.lograge.enabled = true config.lograge.base_controller_class = ["ActionController::API", "ActionController::Base"] config.lograge.formatter = Lograge::Formatters::Logstash.new config.lograge.custom_payload do |event| { host: event.request&.host, session_id:...

Allow me to ignore certain globs for recursion, but still showing them. Example: ``` exa --tree --level=2 --tree-ignore="node_modules|.git|vendor" ``

Here's the error: ``` lib/ecto_autoslug_field/slug.ex:3:no_return Function build_slug/1 has no local return. ________________________________________________________________________________ lib/ecto_autoslug_field/slug.ex:3:no_return Function build_slug/2 has no local return. ________________________________________________________________________________ lib/ecto_autoslug_field/slug.ex:218:call The function call will not succeed. EctoAutoslugField.SlugBase.build_slug(_ :: any(),...

**Intended outcome:** Extension works **Actual outcome:** ``` GraphQLError: Syntax Error: Expected "schema", found String "Represents a schema" at syntaxError (/home/codespace/.vscode-remote/extensions/apollographql.vscode-apollo-1.19.6/node_modules/graphql/error/syntaxError.js:15:10) at Parser.expectKeyword (/home/codespace/.vscode-remote/extensions/apollographql.vscode-apollo-1.19.6/node_modules/graphql/language/parser.js:1435:42) at Parser.parseSchemaDefinition (/home/codespace/.vscode-remote/extensions/apollographql.vscode-apollo-1.19.6/node_modules/graphql/language/parser.js:738:10) at Parser.parseTypeSystemDefinition (/home/codespace/.vscode-remote/extensions/apollographql.vscode-apollo-1.19.6/node_modules/graphql/language/parser.js:690:23) at...

On server: ``` ruby def async binding.remote_pry set_user query = case params[:scope] when "selling" @user.products.with_sale_status(:active, :in_review, :in_review_skipped, :contact_seller, :paused) when "purchases" @user.orders.where.not(status: :pending) end if query.present? render :async, locals: {user:...