Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorbebu
     
    hi,

    i have a model with a hasMany collections and i want to get the count of the association

    right now i am doing it with php like this:

    $Post->comment->count()

    is there a sintags equivalent i can use with link_to ?
    like <%= link_to post.comment.count %>