set object nested value
Set nested properties on an object using dot notation.
Parses set-cookie headers into objects
Types for Iconify data
Match human-quality input to potential matches by edit distance.
Some utilities for JSON pointers described by RFC 6901
Properties file reader for Node.js
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
ProseMirror's rowspan/colspan tables component
Underlying schema language parsed from arktype syntax.
Get stdout window width, with two fallbacks, tty and then a default.
A cache object that deletes the least-recently-used items.
HTTP cookie parser and serializer for Node.js
fast dom CSS styling
Copy a descriptor from object A to object B
An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing
Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Persistent ordered mapping from strings
Define a lazily evaluated property on an object
TypeScript definitions for set-value
A helper to optimistically set Symbol.toStringTag, when possible.
A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.
Contrast two objects by a defined set of values
Stores settings as key/value pairs in a settings table and provides accessors for them on the owning object
Stores settings as key/value pairs in a settings table and provides accessors for them on the owning object
Sometimes, your objects are only data and no behaviour. These are value objects, and they are defined by their _contents_. These objects are immutable, so it is safe to let them propagate throughout the system. Being immutable, value objects cannot be modified; their contents are set once on initialisation. Also, being identified by their contents, two entities with the same contents are considered equal.
The best solution for store global settings in Rails applications. This gem will managing a table of а global key, value pairs easy. Think of it like a global Hash stored in your database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object.
Settings is a plugin that makes managing a table of global key, value pairs easy.
This is improved from rails-settings, added caching. Settings is a plugin that makes managing a table of global key, value pairs easy. Think of it like a global Hash stored in you database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object. Ported to Rails 3!
Settings is a plugin that makes managing a table of global key, value pairs easy. Think of it like a global Hash stored in you database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object. Ported to Rails 3!
Settings is a plugin that makes managing a table of global key, value pairs easy. Think of it like a global Hash stored in you database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object. Ported to Rails 3!
`attr_chainable` provides a simple way to define attributes on a Ruby class that support method chaining for setting values. This allows for a fluent interface when configuring objects.
On large results of ActiveRecord queries, instanciation + GC of objects has a real cost of allocating memory, setting values, and after all GC garbage ... Inside a without_instanciation block, data is returned as hash of values. Objects instanciation process id skipped and though GC of theses objects too. Performance up to 80% for large query result. Of course, you no longer work with Ruby AR objects in this block.
Hash values are set/retrieved using a number, a string, symbol or other hashable object. If the value is almost always stored as a string/symbol, retrieving from hash is quite ambiguous because Ruby treat symbol and string differently, which is good. Condensable class allow creating accessor on demand.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.