Marnen Laibow-Koser wrote: > Bad example. The only time you should ever need to do this is in the > case already covered by validates_confirmation_of. If you have two > fields in the DB that should always be identical, then remove one of > them. >
I'm sorry, but I have to disagree. In the case my example, I referred to an example of virtual pages versus hard controller pages. In the case of matching fields, if a controller redirect occurs to a statically created page, I want the name field and the controller field to be exact because of meta data creation in quite a few areas. However, in the case of a virtually created (dynamic) page where redirects are not occurring, the controller field is not used and the name field is. Therefore, you would not use a controller field for a virtually created page. So, no, you would not destroy another field that serves a completely different and unique purpose. It's very easy to provide a simple no to a question but before you do, you should understand what you are saying no to. -- Posted via http://www.ruby-forum.com/.
-- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

