replaced RAILS_* constants