The 3rd factor of a 12 factor app is configuration stored in the environment. Now that it's in your environment, how do you access them?
Sometimes, when you're building a Ruby on Rails API with Serializers, you want to pass a variable into the serializer from the controller Continue reading “How to pass variables to ActiveModel Serializers from the controller”
Sometimes, you’ll have a scenario where you’ll want to check and see if something can be enumerated or not. To do this, create a method like this: