Loading Model in Yaml

Am loading the model called “Decode” in my yaml file. When i run the
rake db:seed, it runs fine in windows. But dont know why it fails in
unix.

Any ideas?

params.yml

<%
require ‘Decode’
i = 0
%>

Filter_Param<%= i=i+1 %>:
id: <%= i=i+1 %>
filter_param: chapter_status
disp_value: Active
internal_param: modul_status
internal_value: <%= Decode::CHAPTER_STATUS_ACTIVE %>
sort_order: 1

In Unix:
rake aborted!
no such file to load – Decode

On Mon, Jan 18, 2010 at 2:04 AM, tispratik [email protected] wrote:

require ‘Decode’

In Unix:
rake aborted!
no such file to load – Decode

Case sensivity in the file name? Most operating systems, unlike
WIndows treat file names, “Decode.rb” and “decode.rb” as different.


Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: Rick DeNatale - Developer - IBM | LinkedIn