25 Feb '12, 7pm

ASCIIcast 326 - ActiveAttr

ASCIIcast 326 - ActiveAttr

that can help with this. It’s described by its author Chris Greigo as “what ActiveModel left out” which is a fair description of what it does. Using it makes it much easier to create a table-less model that behaves similarly to ActiveRecord and we’ll show you how it works in this episode.

Full article: http://railscasts.com/episodes/326-activeattr?language=en...


Episode 326: ActiveAttr

railscasts.com 22 Feb '12, 1am

class Message include ActiveAttr::Model attribute :name attribute :email attribute :content attribute :priority # type: In...