-
Hey! I've managed to add ActiveModel::Model support like so:
``` ruby
# config/initializers/universal_id.rb
UniversalID::MessagePackFactory.register(
type: ActiveModel::Model,
packer: -> …
-
`ActiveModel::Attributes` is public API of the framework since 7.1, but wasn't advertised in guides mostly because there are a few features missing, like [attribute composition](https://gist.github.co…
-
Hi, I am dealing with multiple models and complex selections and I think something is not working as expected, possibly due to the way I build my selections.
First a general question about selectio…
-
**Version Minecraft : **
[10:30:19 INFO]: This server is running Paper version 1.21.1-DEV-HEAD@5757f1f (2024-08-19T11:28:52Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
Error obtaining version …
-
I'm trying to use `StoreModel` as a building block for composite types.
Let's imagine I'm trying to model `Money`. I'm not really doing that, but it's a nice domain
Here's what I would do:
`…
-
I think that this is a fantastic way of formalizing serialization logic. I think it should be included by default.
https://github.com/rails-api/active_model_serializers
-
> activeresource gem was used in previous rails versions, but they deprecated it in favor of HTTParty+ActiveModel like solutions.
[rails-consuming-internal-rest-api](http://stackoverflow.com/question…
-
I am using Mailboxer to build REST API's for an iOS application. I am wondering, if the gem supports Serialization. As off now, I am trying to change the response, but have been unsuccessful. I need t…
-
## Description
`#[serde(rename_all = "camelCase")]` on a Model derived with `DeriveEntityModel` is not working correctly on the `ActiveModel`
## Steps to Reproduce
```rs
use sea_orm::prelude::…
-
Would be great to have some way to return ActiveModel standard .errors responses when the type checking fails. Plug in to a .valid? call and return the errors collection with fields that were in breac…