You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requiring the model to implement a specific method feels wrong and not rails-like. Better configure aliases through a method call in the model like associations are. E.g.
class User < ActiveRecord::Base
api_aliases team: 'team.identifier', birthday: :dob
end
This is a breaking change as it requires the models to be changed.
The text was updated successfully, but these errors were encountered:
Requiring the model to implement a specific method feels wrong and not rails-like. Better configure aliases through a method call in the model like associations are. E.g.
This is a breaking change as it requires the models to be changed.
The text was updated successfully, but these errors were encountered: