Missing constant

The problem says that spec.rb to define Spec. The file exist but and
it includes the constant. The thing that is weird is that the problem
occurs only during my production environment. IN my development
environment, i dont get these errors. has anybody encountered this
problem.


The error found in production.log:

ActionView::TemplateError (Expected /var/www/apps/nomadzone/releases/
20080206115530/app/models/spec.rb to define Spec) on line #24 of
community/_browse_form.rhtml:
21: Within
22: <%= text_field_tag “miles”, params[:miles], :size => 4 %>
23: miles from zip code:
24: <%= text_field_tag “zip_code”, params[:zip_code], :size =>
Spec::ZIP_CODE_LENGTH %>
25:
26: <%= submit_tag “Browse”, :class => “submit” %>
27:

vendor/rails/activesupport/lib/active_support/dependencies.rb:

249:in `load_missing_constant’


This is my spec.rb file:

class Spec < ActiveRecord::Base

belongs_to :user
acts_as_ferret

ZIP_CODE_LENGTH = 5
ALL_FIELDS = %w(first_name last_name occupation gender birthdate
city state zip_code)
STRING_FIELDS = %w(first_name last_name occupation city state)
VALID_GENDERS = [“Male”, “Female”]
START_YEAR = 1900
VALID_DATES = DateTime.new(START_YEAR)…DateTime.now