On Thu, Mar 5, 2009 at 9:28 PM, luis <[email protected]> wrote: > > > > On Mar 5, 9:00 am, Frederick Cheung <[email protected]> > wrote: > > On 5 Mar 2009, at 14:37, luis wrote: > > > > > > > > > This happens when trying to save the Client object, here is the stack > > > trace > > > > Looks like you still have a validation against name. > > > > Fred > > > > That seems to be the case, but why? Why does it happen only with > cache_classes = true? It seems to me that the cache is not being > flushed... >
The problem could be that rails caches the model schema when the server starts. Try to do a Model.reset_column_information where Model is the name of your model. -- Shiv > > -- Dick Cavett - "If your parents never had children, chances are... neither will you." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

