rails gem share_counts GET method on object?
- by jaqbyte
created the first rails app! excinting! for two weeks now I did Zombie, rubymonk etc. I love it!
I used scaffold form url:string and included the gem share_counts.
rails c:
f = form.first
ShareCounts.twitter f.url
works!
but... I have trouble to write the controller and the view!
For you experienced railies this is probably a silly question, and probably only 5 lines of code, but for me thats a big step learning RoR!
I am very thankful if someone could help how I can show the count next to the "url" field.
Thank you so much!!!
joh