Neeraj Kumar
2005-Nov-04 15:31 UTC
Why class InstanceTag is defined at 4 different places in Rails
In Rails, the class InstanceTag is defined at 4 places: active_record_helper.rb date_helper.rb form_helper.rb form_options_helper.rb I have a need to overrite the def to_date_select_tag(options = {}) method of class InstanceTag defined in date_helper.rb . With little background in Ruby I am finding it difficult to achieve overwriting a method in an elegant way. Is it a good design practice to have such big classes inside a module? Or this constraint has been put by the language or framework? I''m trying to understand the design rationale. Thanks. -=- Neeraj _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails