Just in case you are trying to implement Facebook style ‘Liking’ to your Rails application from scratch here is how I did it as well as how other StackOverflow users would tackle the issues as well using a Polymorphic Data Model in Rails 3
Rails 3: Polymorphic liking of Entities by User, how?
Tim Clark
Experienced Business Owner, Chief Information Officer, Vice President, Chief Software Architect, Application Architect, Project Manager, Software Developer, Senior Web Developer, Graphic Designer & 3D Modeler, University Instructor, University Program Chair, Academic Director. Specialties: Ruby, Ruby on Rails, JavaScript, JQuery, AJAX, Node.js, React.js, Angular.js, MySQL, PostgreSQL, MongoDB, SQL Server, Responsive Design, HTML5, XHTML, CSS3, C#, ASP.net, Project Management, System Design/Architecture, Web Design, Web Development, Adobe CS6 (Photoshop, Illustrator) View all posts by Tim Clark
Published by