The code below is from my user model which have a FK called extension_id. The visible_columns array are used to display all columns (that should be visible) and their values. What should I do to get the ''extension.address'' column to work? @@visible_columns = [''username'', ''first_name'', ''last_name'', ''extension.address'', ''department'', ''title''] def self.visible_columns visible_columns = self.content_columns visible_columns.delete_if {|item| @@visible_columns.include?(item.name) == false} visible_columns end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---