I would be careful using the params[:count] +1 setup... If someone managed tio submit that param with their post then the count is hosed...
I would use link_to_remote and use a rjs template that updates the count and the action just updates the database with +1 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

