Watched 1 video

Watched 1 Video from start to finish

Subscribed for 1 month

Learning and showing your support for 1 Month

Spread the word 1 time

Referred 1 Member to Drifting Ruby


10 times Chatter Box

Make 10 comments to videos or replies to other comments

Share the love 1 time

Liked 1 episode


Welcome back 3 times

You've visited Drifting Ruby on 3 different days

Suggested 1 episode

Helped the community by suggesting 1 episode

Vote Suggestion 1 time

Helped the community by voting on suggestions 1 time

1 time Chatter Box

Make 1 comment to videos or replies to other comments

Earned on 3/4/2019

# Name
Ivan Kuzel said over 1 year ago on DataTables :

Thank you very mucho. It was very useful. However, I have a question about how to define columns if we have associations.

For instance, my user object has one country, so if I want to see the country name I would do: (country is another table).

How should I define the columns method for that? I tried:
def columns
But it's not correct. Thank you very much in advance.