I had previously dealt with SRE errors by doing: class ApplicationController < ActionController::Base model :admin_user end However this isn''t work after upgrading to .13 I now have to put the model :admin_user in each controller... Any ideas on why my previous method stopped working? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org lists.rubyonrails.org/mailman/listinfo/rails
On Jul 6, 2005, at 11:23 PM, Sean T Allen wrote:> I had previously dealt with SRE errors by doing:I feel not-smart asking, but what is SRE? Duane Johnson (canadaduane)
Duane Johnson wrote:> > On Jul 6, 2005, at 11:23 PM, Sean T Allen wrote: > >> I had previously dealt with SRE errors by doing: > > > I feel not-smart asking, but what is SRE? > > Duane Johnson > (canadaduane) > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > lists.rubyonrails.org/mailman/listinfo/rails >Googled it ;) wiki.rubyonrails.com/rails/show/HowtoAvoidSessionRestoreError In development, I used to frequently get a Session Restore Error <wiki.rubyonrails.com/rails/show/SessionRestoreError> message (which I’ll call *SRE*) // JoNtE -- --- Jonas Montonen Home: jonte.nu Newbie RoR: turnering.se & tournamentadmin.net
Fixed in rails 0.13.1 (or whatever the next revision will be). dev.rubyonrails.com/changeset/1741 -- rick techno-weenie.net
Rick Olson wrote:>Fixed in rails 0.13.1 (or whatever the next revision will be). > >dev.rubyonrails.com/changeset/1741 > > >Thats great but... why is my "model :BLAH in the application controller workaround" no longer working... why do I have to put model :blah in each controller? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org lists.rubyonrails.org/mailman/listinfo/rails
SRE = Session Restore Error _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org lists.rubyonrails.org/mailman/listinfo/rails