Skip to content
View zhandao's full-sized avatar
🎯
(๑ ̀ㅅ ́๑)
🎯
(๑ ̀ㅅ ́๑)
Block or Report

Block or report zhandao

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

Pinned

  1. on-hand/on-hand on-hand/on-hand Public

    Ruby 2

  2. [Ruby on Rails] Let ActiveRecord tak... [Ruby on Rails] Let ActiveRecord take record instance directly from memory (cached)
    1
    inspired by [https://sourcediving.com/this-rails-cache-is-not-your-friend-512871c138aa]
    2
    
                  
    3
    Let ActiveRecord take record instance directly from memory (cached),
    4
    instead of instantiate from result set,
    5
    for reducing memory allocation times and time.
  3. zero-rails_openapi zero-rails_openapi Public

    Concise DSL for generating OpenAPI Specification 3 (OAS3) JSON documentation for Ruby application.

    Ruby 164 21

  4. [Ruby on Rails] Define method inside... [Ruby on Rails] Define method inside ActiveRecord result instance
    1
    des to be written.
    2
    
                  
    3
    ```ruby
    4
    class User < ApplicationRecord
    5
      def self.select_tag = all.select { _1.tags.present? }
  5. i_am_i_can i_am_i_can Public

    (RBAC like) Concise and Natural DSL for `Subject - Role(Role Group) - Permission - Resource` Management.

    Ruby 4