Hi, I have two questions: 1) How do you cast in RoR2? I have this: <% .... total = 0;
(@person.quizzes).each { |a| puts total+=a } .... %> <%= total %> However, the compiler treats a as a string. I want it to be an number. Help? 2) How do I make this (http://github.com/activefx/ restful_authentication_tutorial/tree/master/) work in an application? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---