search for: new_column_nam

Displaying 2 results from an estimated 2 matches for "new_column_nam".

Did you mean: new_column_name
2010 Dec 14
4
Change primary_key column name
Hi, after changing a primary key column name, the auto-increment information (MySQL) and sequence (Oracle) are lost. What is the correct way to rename primary keys? Thanks, Gustavo -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Feb 21
4
Models, Helpers, Modules, etc.
...of functionality 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 a...