Displaying 1 result from an estimated 1 matches for "rosterscontroller".
2006 Apr 13
2
One model won''t work like the others, generating weird error
...RK. Whenever I call it, I get the
following error:
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::2
The model itself couldn''t be any simpler:
class Team < ActiveRecord::Base
end
The controller calling it is as follows:
class RostersController < ContentController
layout :theme_layout
helper :articles
model :team
def index
ac_teams =
[''COU'',''TRI'',''CAP'',''BUF'',''MCM'',''WMS'',''PHI'',''BOW''...