merb 0.4.0 session issue
Michael D. Ivey
ivey at gweezlebur.com
Wed Nov 7 10:18:34 EST 2007
On Nov 7, 2007, at 6:22 AM, frazer horn wrote:
> I was running on merb edge fine a few days ago. Last night I went to
> merb 0.4.0 via gem install and now any call to session[:foo] causes an
> error >> undefined method '[]' for nil:NilClass
>
> I have uninstalled and reinstalled merb with no luck.
I just installed merb and merb_activerecord from gems, created a new
app, turned on AR sessions,
did the migration, and sessions work.
So to figure out why they don't work in your app, gonna need to see
more info.
Can you reply with relevant chunks of your merb.yml, dependencies.rb,
schema.rb, controller, etc?
Also, do you have merb_activerecord installed? The name changed from
merb_active_record to merb_activerecord right before 0.4.0 released.
More information about the Merb-devel
mailing list