Thank you for the answer!

Yes, I was thinking about just having the reseller categories (raw 
categories) as a lookup table. So for each product I import I just check 
what category it should be in.
One issue with this is that it might get a bit messy if I would change the 
relations between a reseller category and a category. If I would change 
this I have to go through all the products and update them accordingly. If 
I would use the suggestion in my original post it would work automatically.

On the other hand, it might be very inefficient to do it like that... It 
would save some database work with a direct relation between products and 
my categories. 

I think I will try it out if no one else has any other suggestions?

Regards
Linus

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/myxjT8cpJEEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to