[Rails] Re: AR type mismatch problem

2011-09-21 Thread elliottg
config.cache_classes = true worked. But that opens up a whole new issue right? IE reboot server after each model edit?! Thoughts? PS thanks for the help so far. EG On Sep 21, 4:14 pm, elliottg wrote: > Thanks for the inout guys. Sessions are at play, but I'm only storing > the Cart's id. I'll t

[Rails] Re: AR type mismatch problem

2011-09-21 Thread elliottg
Thanks for the inout guys. Sessions are at play, but I'm only storing the Cart's id. I'll try the config.cache_classes setting and get back to you. EG -- 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 r

Re: [Rails] Re: AR type mismatch problem

2011-09-21 Thread Rob Biedenharn
On Sep 21, 2011, at 10:07 AM, Matt Jones wrote: On Sep 21, 9:52 am, elliottg wrote: Thanks for the feedback. Both Carts are definitely the same Class (no modules are at play). Everything works perfectly in the console. It blows up when the app runs as Dev. After I reboot the local server the f

[Rails] Re: AR type mismatch problem

2011-09-21 Thread Matt Jones
On Sep 21, 9:52 am, elliottg wrote: > Thanks for the feedback. Both Carts are definitely the same Class (no > modules are at play). Everything works perfectly in the console. It > blows up when the app runs as Dev. > > After I reboot the local server the first time the request is passed I > do N

[Rails] Re: AR type mismatch problem

2011-09-21 Thread elliottg
Thanks for the feedback. Both Carts are definitely the same Class (no modules are at play). Everything works perfectly in the console. It blows up when the app runs as Dev. After I reboot the local server the first time the request is passed I do NOT have the mismatch error. All subsequent calls b