Common Addresses Using Polymorphism and Nested Attributes in Rails
Have you ever wanted to take an object that is common to a lot of models – like addresses – and DRY up your code? If you’re really concerned about design, or if the object itself is complex, you...
View ArticleNested Comments in Ruby on Rails, Part 1: Models
The Model Layer Controllers and Views YouTube has a pretty cool comment system. You can comment on videos, but you can also reply to comments other people have posted. In essence, you commenting on...
View ArticleNested Comments in Ruby on Rails, part 2: Controllers and Views
The Model Layer Controllers and Views Part 1 of this series came out exactly 3 months and 3 days ago. Special thanks to a reader named Edward who prodded me to finally add the controllers and views...
View Article
More Pages to Explore .....