Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the basic concept behind rails' act_as?

Tags:

I can't seem to find the answer to this,
I somewhat see what it does through implementation, but don't grok the sense of it..

like image 869
julien Avatar asked Nov 28 '09 00:11

julien


2 Answers

Yehuda Katz has a nice explanation of the acts_as plugin pattern and why it's usually implemented in a needlessly complicated way.

like image 96
John Topley Avatar answered Oct 11 '22 11:10

John Topley


This article explains the acts_as plugin architecture using the acts_as_state_machine plugin as an example.

like image 41
zetetic Avatar answered Oct 11 '22 11:10

zetetic