Hi guys, I was just working on this application (http://pastie.org/329613) when I added this line "session[:user].include?(params[:id])" to an unless statement and the app threw this error:
NoMethodError in SignupsController#show undefined method `include?' for 27:Fixnum Application Trace: app/controllers/signups_controller.rb:35:in `authorize' Any ideas? Thanks in advance! -- 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 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 -~----------~----~----~----~------~----~------~--~---