to solve an svn integration issue, I got a fresh environment.rb file and added at the end of it require ''rails_file_column'' exactly as I had in my original one, when I had Sebastian Kanthak''s FileColumn working fine. now I''m getting undefined method `file_column'' for Photo:Class I have all the lib files in place, with permissions, even got a fresh set from Sebastian''s site, but for some reason rails doesn''t find them. what could be causing this? do I need to do some sort of reload of the environment so that it sees the change? thanks in advance, Oliver
Restart your web server? On 9/16/05, oliver barnes <ol1barn3s-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> to solve an svn integration issue, I got a fresh environment.rb file > and added at the end of it > > require ''rails_file_column'' > > exactly as I had in my original one, when I had Sebastian Kanthak''s > FileColumn working fine. > > now I''m getting > > undefined method `file_column'' for Photo:Class > > I have all the lib files in place, with permissions, even got a fresh > set from Sebastian''s site, but for some reason rails doesn''t find > them. what could be causing this? do I need to do some sort of reload > of the environment so that it sees the change? > > > thanks in advance, > Oliver > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
hi kyle, I restarted apache but it still didn''t reload... you mentioned static and dynamic fcgi server setups on the other thread. could this be related, perhaps I have a static setup... fcgi can be restarted by itself? I''m going to look into this dynamic setup... is there a howto you could point me to? thanks oliver On Sep 16, 2005, at 11:57 PM, Kyle Maxwell wrote:> Restart your web server? > > On 9/16/05, oliver barnes <ol1barn3s-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> to solve an svn integration issue, I got a fresh environment.rb file >> and added at the end of it >> >> require ''rails_file_column'' >> >> exactly as I had in my original one, when I had Sebastian Kanthak''s >> FileColumn working fine. >> >> now I''m getting >> >> undefined method `file_column'' for Photo:Class >> >> I have all the lib files in place, with permissions, even got a fresh >> set from Sebastian''s site, but for some reason rails doesn''t find >> them. what could be causing this? do I need to do some sort of reload >> of the environment so that it sees the change? >> >> >> thanks in advance, >> Oliver >> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
ok, found the apache config for this at another thread, thanks kyle On Sep 17, 2005, at 3:12 PM, oliver barnes wrote:> hi kyle, I restarted apache but it still didn''t reload... you > mentioned static and dynamic fcgi server setups on the other > thread. could this be related, perhaps I have a static setup... > fcgi can be restarted by itself? I''m going to look into this > dynamic setup... is there a howto you could point me to? > > thanks > oliver > > On Sep 16, 2005, at 11:57 PM, Kyle Maxwell wrote: > > >> Restart your web server? >> >> On 9/16/05, oliver barnes <ol1barn3s-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> >>> to solve an svn integration issue, I got a fresh environment.rb file >>> and added at the end of it >>> >>> require ''rails_file_column'' >>> >>> exactly as I had in my original one, when I had Sebastian Kanthak''s >>> FileColumn working fine. >>> >>> now I''m getting >>> >>> undefined method `file_column'' for Photo:Class >>> >>> I have all the lib files in place, with permissions, even got a >>> fresh >>> set from Sebastian''s site, but for some reason rails doesn''t find >>> them. what could be causing this? do I need to do some sort of >>> reload >>> of the environment so that it sees the change? >>> >>> >>> thanks in advance, >>> Oliver >>> >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >>> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > >