Bryan's ActieModel Extravaganza
summary
ActiveModel is both an external API contract (he names about five required behaviors) and a set of mixin helpers that give you naming, callbacks, validations and serialization with just four to eight lines of code. Examples include wiring Sequel to Rails form helpers and adding include/extend modules for attribute methods. The demo builds a soundboard in Redis that streams via HTML5 audio and it generally works on an iPad though range requests and middleware for content ranges remain a practical snag.
AI-written summary · about








