Displaying 1 result from an estimated 1 matches for "anevent".
Did you mean:
  anyevent
  
2006 May 30
3
expected, got Fixnum problem.
Hi,
I was wondering if anybody knew what ''<some type> expected, got Fixnum''
means?  My code looks like the following:
begin
      anevent = Event.new
      anevent.title = params["event"]["title"]
      anevent = session[:user_id]
      com = Community.find(params[:id])
      com.events << anevent
rescue Exception => exc
...
end
But I get an exception.
Thanks a lot.
-------------- next part ------------...