change your question to how can count the total number of page loads for .... ?
For what? On 4 September 2010 13:26, Shea Barton <[email protected]> wrote: > What would be the best way in rails to store a single variable and have > it persist. Like a have a variable that says "total_visits" that counts > the total number of page loads. > > The only solution I can think of is having a table with a single row. > -- > Posted via http://www.ruby-forum.com/. > > -- > 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]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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.

