ruby on rails - How i group the result according to 2.degree association in activerecord -
i trying group blog_post related category. category related category_group. there no organic bond between blog_post , category_group.
how can group results?
blog_post -> category -> category_group blog_post category group text name name title slug_name slug_name category_id group_id
i want blog_post group according category_group. possible or no make sense?
Comments
Post a Comment