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

Block or report pucinsk

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.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, 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
pucinsk/README.md

Hi there, I'm Jokūbas

Back-end oriented Software Developer. I have been using Ruby/Rails to solve problems, create applications for the last 6 years. I am passionate about good practices, testing and writing scalable code. A small part of me is a front-end developer who codes JavaScript and creates interactive UIs with ReactJS.

🔭 Currently working on:


💬 Latest blog posts:
[2025-06-03] Callbacky - bring callbacks to simple Ruby objects

[2024-11-08] 3 useful VS Code extensions for testing Ruby code

[2024-11-02] Ruby exceptions: tips & tricks


Here's my take on FooBar challenge:

(1..15).each do
    p it % 5 == 0 ? "#{'Foo' if it % 3 == 0}Bar" : it
end

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