search for: emlak_firmasi

Displaying 1 result from an estimated 1 matches for "emlak_firmasi".

2006 Feb 13
2
Do I need separate file for each model
...n a file named genel. When I try to use one of the classes in my controller rails raises an error telling classname.rb is not forund even the file is required already. require "genel" require "hesaplar" class HesaplarController < ApplicationController def yeni_firma @emlak_firmasi = EmlakFirmasi.new @sehirler = Sehir.find_all end end The odd thing is it is working once when I restart webrick, and after hitting refresh it raises exception again. Why it is insisting to load classname.rb, isn''t it po?ssible to use custom filenames for models when you do no...