Skip to content
View jokubaspu's full-sized avatar
🖐️
🖐️

Block or report jokubaspu

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. has_jwt_token has_jwt_token Public

    You love to use ruby-jwt and combine it with has_secure_password. Am I right? If yes, check this gem. It allows you to issue tokens for authenticated resources.

    Ruby

  2. Pure Ruby sort - for sorting arrays ... Pure Ruby sort - for sorting arrays of hashes by keys in asc or desc order
    1
    class AwesomeSort
    2
      class Sortee
    3
        def initialize(sortee)
    4
          @sortee = sortee
    5
        end
  3. Fake ActiveRecord `has_many` associa... Fake ActiveRecord `has_many` association. Of course, if you have enough fantasy, you can convert it to `has_one` or whatever.
    1
    module DummyRelations
    2
      def has_many(relation_name)
    3
        class_eval do
    4
          define_method(relation_name) do
    5
            instance_variable_get("@#{relation_name}") || []
  4. Ruby on Rails template which focuses... Ruby on Rails template which focuses on installing whole rubocop suite and preconfigures it with opinioted style instead of using rails omakase setup.
    1
    ### README FIRST
    2
    # RuboCop:
    3
    # This template replaces rails rubocop omakase with it's own rubocop config
    4
    # Please use "--skip-rubocop" flag
    5
    
                  
  5. nix-plates nix-plates Public

    A collection of boilerplates for various projects, all powered by NixOS.

    Ruby 1

  6. callbacky callbacky Public

    Lightweight Ruby gem that allows you to define and run custom lifecycle callbacks like before and after in a clean, expressive way

    Ruby 1