Hi All, I''ve just been writing a plugin that adds a class method to ActiveRecord (acts_as_*) style and it doesn''t seem to be adding the class method. If I require the file manually in the ruby console however it works. It seemed odd so I then downloaded file_column from the wiki and tried this. It''s doing the same thing as well....anyone else having this problem or know a solution? Im using 14.2 on Windows XP... Cheers, -- Dan Webb http://www.danwebb.net
Hi, There is an howto on the wiki, maybe you will find what''s wrong with your plugin: http://wiki.rubyonrails.com/rails/pages/HowToWriteAnActsAsPlugIn 2005/11/7, Dan Webb:> Hi All, > > I''ve just been writing a plugin that adds a class method to > ActiveRecord (acts_as_*) style and it doesn''t seem to be adding the > class method. If I require the file manually in the ruby console > however it works. > > It seemed odd so I then downloaded file_column from the wiki and tried > this. It''s doing the same thing as well....anyone else having this > problem or know a solution? > > Im using 14.2 on Windows XP... > > Cheers, > > -- > Dan Webb > http://www.danwebb.net > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Yeah, I tried the code from that too and it doesn''t work for me. Very odd it is... On 11/7/05, Bruno Celeste <bruno.celeste-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > There is an howto on the wiki, maybe you will find what''s wrong with > your plugin: > http://wiki.rubyonrails.com/rails/pages/HowToWriteAnActsAsPlugIn > > 2005/11/7, Dan Webb: > > Hi All, > > > > I''ve just been writing a plugin that adds a class method to > > ActiveRecord (acts_as_*) style and it doesn''t seem to be adding the > > class method. If I require the file manually in the ruby console > > however it works. > > > > It seemed odd so I then downloaded file_column from the wiki and tried > > this. It''s doing the same thing as well....anyone else having this > > problem or know a solution? > > > > Im using 14.2 on Windows XP... > > > > Cheers, > > > > -- > > Dan Webb > > http://www.danwebb.net > > _______________________________________________ > > 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 >-- Dan Webb http://www.danwebb.net