Ambar Gonzalez·Sep 13, 2023Rendering JSON and SerializationLearning backend development made me realize how information is made available to the frontend. I also recognize that all that information…
Staci Rosales·Aug 13, 2023Quick Set-up: Active Model SerializerActive Record provides a method for sending specified attributes and associations for models with Active Model Serializer (AMS), a Ruby…
Alexandra·Jul 28, 2023Ruby on Rails: Using Active Model SerializersSeparation of Concerns is a defining feature of Ruby on Rails as it pushes coders to keep their code organized according to specific…
Joshua Thompson·Mar 29, 2023Getting the user data you want by using serializersWhile learning ruby on rails my friend and I came across a problem when trying to properly serialize data onto our API. It was an…
Sadiqul Islam·Feb 27, 2023Why need to use form Meta class?The Form class can have several attributes and methods that are used to define the form fields, validation rules, and how the form data is…
Angie Maticorena·Jan 4, 2023Active Model Serializers ExplainedSo you’ve learned how to build a Rails API using Ruby on Rails. You’ve set up your routes and your controller actions to render JSON. And…
Luis Vasquez·Jan 2, 2023Using Active Model SerializersIn an API, serialization describes the process of specifying which attributes of a record are returned in a JSON response.
Sean Martin·Nov 18, 2022Serialization in Rails with Active Model SerializerWhen building a full stack web application, it is important to deliver well formatted and relevant data from the server to the front end…
John E. Mook·Nov 5, 2022The Front of House/Back of House with ActiveModel::SerializersPhase 4 in Flatiron’s curriculum is all about Ruby on Rails. The final project asks you to build a full-stack project with a React frontend…