Skip to content

Use Alba inflector#3

Merged
palkan merged 1 commit intomainfrom
turn-on-alba-inflector
Jul 31, 2025
Merged

Use Alba inflector#3
palkan merged 1 commit intomainfrom
turn-on-alba-inflector

Conversation

@skryukov
Copy link
Member

No description provided.


class << self
def one(name, serializer: nil, **options)
options[:resource] ||= serializer || "#{name}Serializer".classify.constantize
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I missed this change: okuramasafumi/alba@1695af4

(We needed this mostly for "Serializer" suffix)

@palkan palkan merged commit 6ce2b79 into main Jul 31, 2025
3 checks passed
@palkan palkan deleted the turn-on-alba-inflector branch July 31, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants