- Vilnius, Lithuania
Pinned Loading
-
has_jwt_token
has_jwt_token PublicYou 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 1
-
samesystem/graphql_rails
samesystem/graphql_rails PublicGraphQL on Rails. Write GraphQL server side in rails way
-
Pure Ruby sort - for sorting arrays ...
Pure Ruby sort - for sorting arrays of hashes by keys in asc or desc order 1class AwesomeSort
2class Sortee
3def initialize(sortee)
4@sortee = sortee
5end
-
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. 1module DummyRelations
2def has_many(relation_name)
3class_eval do
4define_method(relation_name) do
5instance_variable_get("@#{relation_name}") || []
-
-
React Material UI 'drawer-like' comp...
React Material UI 'drawer-like' component which can be rendered from container. 1import React, { useMemo, forwardRef, useState, useEffect } from 'react'
2import PropTypes from 'prop-types'
3import { makeStyles, Paper, Slide, ClickAwayListener } from '@material-ui/core'
45const useStyles = makeStyles(function (theme) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.