Apresentação tomando como base explicação em artigo de cowboycoded
Criar um 'plugin' que permita fazer reviews de um produto ou qualquer outra coisa
Polymorphic relationships allow you to have a single model that can be associated to an arbitrary number of other model types. Example For instance, let's say you have a contacts database utilizing two models, Person and Company. Both people and companies have addresses that you want to store in the database, and you want to be able to query against all addresses at once (say for a location-based search). Polymorphic associations make this easy in Rails. Let's assume that you already have your Person and Company models created and are just creating your Address model. When you create your migration you will denote the polymorphic relationship using references: http://wiki.rubyonrails.org/howtos/db-relationships/polymorphic
Transcript of "Act as"
ACTS AS André Tagliati @tagliati http://www.tagliati.com.br [email_address]