search for: old_column_name

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

2006 Feb 21
4
Models, Helpers, Modules, etc.
...among the controllers, so is it proper to create a new controller class containing the duplicated functionality and then inheriting my other controllers from this class? Or again use modules to do so? [2]How can I provide an alternative name for a column in a model. alias_method :new_column_name, :old_column_name provides a new name only for the reader method, I want this to be done for the writer also. Thanks for your help. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read the latest news at: http://news.kreeti.com ,---- | "All animals are equal, but some animals are more equ...