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
The transform config option is similar to Active Record Validations in that it looks up transformers based on the symbols you pass it. But if transformers come bundled with Remote Record classes, there's not too much use putting them into some global namespace unless they really need to be.
The aim would be for us to be able to do this:
remote_recorddo |c|
c.transform[:snake_case,'DotParamsTransformer']endmoduleDotParamsTransformer
...
end
The text was updated successfully, but these errors were encountered:
The
transform
config option is similar to Active Record Validations in that it looks up transformers based on the symbols you pass it. But if transformers come bundled with Remote Record classes, there's not too much use putting them into some global namespace unless they really need to be.The aim would be for us to be able to do this:
The text was updated successfully, but these errors were encountered: