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

Block or report zhandao

Report abuse

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

Report abuse

Pinned Loading

  1. [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.
  2. zero-rails_openapi zero-rails_openapi Public

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

    Ruby 170 22

  3. [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? }
  4. 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