« first day (554 days earlier)      last day (360 days later) » 

05:10
0
Q: How to send the count value using JSON in ROR

Karthick MI want to send the count value,for count the post i am using "thumbs up" gem in ror. i am using this gem Now i want to send the count in json,the vote as post action in def show def show if signed_in? @post = Post.find(params[:id]) @my_posts = current_user.posts.paginate(page: ...

how to do this
 
1 hour later…
hi @JitendraPatidar
I have one doubt on rails
I am using thumbs up gem how can I get vote count by using json

« first day (554 days earlier)      last day (360 days later) »