I have a two model. Post and `Comment'.
model
Post
Post has_may comments.
comments
Query: I want to get the max count of comments in which post.
This should be done by rail query.
rail
Aucun commentaire:
Enregistrer un commentaire