Rails 3 app using the contextualize and decent_exposure gems.
Contextualize allows for ‘contextual behaviors’ on models, i.e context switching the logic depending on the context it operates in.
See the code to get a feel for it and find it useful.
Rails 3 demo using contextualize and decent_exposure
Rails 3 app using the contextualize and decent_exposure gems.
Contextualize allows for ‘contextual behaviors’ on models, i.e context switching the logic depending on the context it operates in.
See the code to get a feel for it and find it useful.
Rails 3 demo using contextualize and decent_exposure