Tag: ruby

  • How to make Rails app with Graphql to take “name” and “repos” from api.github?

    How to make Rails app with Graphql to take “name” and “repos” from api.github?

    -1 A form in which you need to enter GitHub_login, after processing the form, display the github name and the list of repos. Example: Enter: dhh Output: David Heinemeier Hansson actioncable asset-hosting-with-minimum-ss1 bundler The server should process requests using GraphQL (https://github.com/rmosolgo/graphql-ruby). It should pull data from GitHub and process it. To get data from GitHub,…

  • Ruby method with a (*) signature

    Ruby method with a (*) signature

    9 On this interesting blog post about pattern matching, there is some code with a method signature of (*) class Request < Data.define(:path, :scheme, :format) def deconstruct_keys(*) { path: @path, scheme: @scheme, format: @format } end def deconstruct(*) path.split("/").compact end end This is different than def a_method(*args) I could not find any information in the…

  • After updating Cocoapods to 1.13.0 it throws error

    After updating Cocoapods to 1.13.0 it throws error

    7 I updated Cocoapods to 1.13.0 and after calling pod install it throws an error: conversions.rb:108:in ‘class:Array’: undefined method ‘deprecator’ for ActiveSupport:Module (NoMethodError) bundler: failed to load command: pod (/opt/homebrew/opt/bin/rbenv/versions/3.2.2/bin/pod) /opt/homebrew/opt/bin/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-7.1.0/lib/active_support/core_ext/array/conversions.rb:108:in `<class:Array>’: undefined method `deprecator’ for ActiveSupport:Module (NoMethodError) deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator ^^^^^^^^^^^ Did you mean? deprecate_constant from /opt/homebrew/opt/bin/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-7.1.0/lib/active_support/core_ext/array/conversions.rb:8:in `<top (required)>’ from <internal:/opt/homebrew/opt/bin/rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require’…

  • Full Stack Developer – Zachary Piper Solutions, LLC – Raleigh, NC

    Full Stack Developer – Zachary Piper Solutions, LLC – Raleigh, NC

    Zachary Piper Solutions, LLC Raleigh, NC Full Time Skills FullStack Developer Full Stack Development React Typescript JSS JavaScript HTML CSS Ruby GraphQL Job Description Piper Companies is seeking a Full Stack Developer to join a development team at a cutting-edge Medical Device company. The Full Stack Developer should possess significant experience in developing web applications…