Download Latest Version April Wise_s Day edition source code.tar.gz (389.1 kB)
Email in envelope

Get an email when there's a new version of Alba

Home / v3.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-06-21 1.0 kB
v3.2.0_ Rails controller integration source code.tar.gz 2024-06-21 385.1 kB
v3.2.0_ Rails controller integration source code.zip 2024-06-21 414.8 kB
Totals: 3 Items   800.9 kB 0

Hi, here's a new version of Alba, v3.2.0. There are two additions in this release.

Now we have a Rails "controller" integration! serialize and render_serialized_json methods are available in Rails controllers, making it easier to use Alba with Rails. It's inspired by Layered Design for Ruby on Rails Applications book mentioning Alba and its usage. Thank you! Another feature is transform_keys! that enables to change key transformation type after defining a resource/serializer class. It helps when there are so many classes that are almost equivalent. Note that this feature is experimental.

The documentation for the new Rails controller integration is here and the documentation for transform_keys! can be found here.Enjoy!

Source: README.md, updated 2024-06-21