Namaste everyone! This is Prathamesh bringing you the latest news from the Rails world with some rain and chai from Pune.
Rails 5.2.1 is released. Give it a try and check out all the awesome features.
Now, the Active Storage service adapter names can be lower case or upper case. Also, a nice error message is printed if the service adapter class can’t be loaded.
While caching data from external services, sometimes we may get nil values. Most probably we don’t want to cache them. Here is an option skip_nil: true/false to skip caching of such entries.
Earlier, the extended build method was not called properly for the has_many association which was being accepted by using accepts_nested_attributes_for.
This issue is fixed now.
See all the changes from last week here and stay tuned for next week. 👋