search for: other_artist

Displaying 1 result from an estimated 1 matches for "other_artist".

2006 Dec 26
0
alias_method_chain vs. redefined method with super
...(a music collection) that I often use to evaluate web frameworks, and I''m trying to get it working on Rails 1.2.0RC1. Specifically, I have three classes which subclass a common Artist class: - Band (name:string) - Musician (first_name:string, last_name:string) - Duo (first_artist:Artist, other_artist:Artist) I''m using single table inheritance to store all of the fields for the various Artist types in one table. I want the ''name'' attribute to be derived for Musicians (first_name+last_name) and Duos (first_artist.name+last_artist.name) and persisted so I can sort all...