ruby on rails - RABL - attributes within child node - Stack Overflow
Your code: location.rates.where(:pair => @pair).first returns the whole Rate object. If you want specific fields (for example: all, except for create_at, updated_at, etc.) then you have two options:
Manually desc
#(for #node #:value #options: #manually
https://stackoverflow.com/questions/12286561/rabl-attributes-within-child-node https://stackoverflow.com/questions/12286561/rabl-attributes-within-child-node
Видео ruby on rails - RABL - attributes within child node - Stack Overflow канала ResponseXAI
Manually desc
#(for #node #:value #options: #manually
https://stackoverflow.com/questions/12286561/rabl-attributes-within-child-node https://stackoverflow.com/questions/12286561/rabl-attributes-within-child-node
Видео ruby on rails - RABL - attributes within child node - Stack Overflow канала ResponseXAI
Комментарии отсутствуют
Информация о видео
14 июля 2025 г. 13:56:05
00:00:30
Другие видео канала