A few things are different with how you configure sessions in Merb  
0.4.0.

Try changing :session_store: active_record to :sql_session: true

Hope this helps

Jonathan

----
http://www.jaikoo.com


On 7 Nov 2007, at 12:22, frazer horn wrote:

> Not sure if anyone else has had this problem.
>
> 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.
>
> dependencies.rb
> use_orm :activerecord
>
> merb.yml
> :session_store: active_record
>
> Gems
> merb 0.4.0
> merb_activerecord 0.4.2
>
> Mac OSX
>
> Any help appreciated.
> _______________________________________________
> Merb-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/merb-devel

_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel

Reply via email to