virtus
https://github.com/solnic/virtus
Ruby
Attributes on Steroids for Plain Old Ruby Objects
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
3 Subscribers
Add a CodeTriage badge to virtus
Help out
- Issues
- Strict mode only works for basic values
- Hash.try_convert(attributes) errors on params in Rails 5
- Calling methods inside of a Virtus::Attribute
- Show Embedded value on edit form
- Validation from class attributes
- Add method AttributeSet#names to return array of all attribute names
- Fixed determining Boolean from `false`
- Strange Boolean behaviour
- What replaces `ValueObject::InstanceMethods::with`?
- Avoid override of previously assigned attributes
- Docs
- Logic::Contracting::ApplicationContract#validate_contract_hierarchy?
- Logic::Contracting::ApplicationContract#validate_contract_hierarchy!
- WebHooksHelpers#web_hook_human_event
- WebHooksHelpers#web_hook_event!
- WebHooksHelpers#push_destroy_web_hook
- WebHooksHelpers#push_web_hooks_later
- WebHooksHelpers::ClassMethods#fires_human_web_hooks_on_events
- String#to_has_money
- ThreeScale::Money::Conversions#to_has_money
- ThreeScale::Money#cents