hrm... I'm using cookie as the session store as well and I'm
running 1.1 right now

I'll def. send in anything else I find though.

Thanks,
-ian

On 12:43 Wed 14 Oct     , Jacques Crocker wrote:
> 
> I'm running Merb 1.1 and dm 0.10, however I'm using the Cookie session  
> store, and not datamapper backed sessions. Sounds like things are  
> broken with the data_mapper_session so we should get it fixed. If you  
> find a solution, please post it to the list and hopefully we can get  
> it merged into the upcoming 1.1 release.
> 
> 
> On Oct 14, 2009, at 12:33 PM, ian wrote:
> 
> >
> > it appears there are several things that merb_datamapper 1.1 does not
> > like about dm 0.10
> >
> > the first fix was rather easy:
> >  line 10 on /usr/lib/ruby/gems/1.8/gems/merb_datamapper-1.1/lib/merb/
> > session/data_mapper_session.rb
> >
> > says this:
> >    property :session_id, String, :size => 32, :nullable =>
> > false, :key => true
> >
> > it should read this:
> >    property :session_id, String, :length => 32, :nullable =>
> > false, :key => true
> >
> > however I was still stuck on this one just cause I don't really know
> > dm's internals:
> >  line 59-65 are erroring out as well:
> >
> >      descendants = DataMapper::Resource.descendants.dup
> >      descendants.dup.each do |model|
> >        descendants.merge(model.descendants) if model.respond_to?
> > (:descendants)
> >      end
> >      descendants.each do |model|
> >        model.relationships.each_value { |r| r.child_key }
> >      end
> >
> > tried replacing 'Resource' with 'Model' but merge isn't going to
> > respond to the descedents...
> >
> > anways... anyone have patches/walkthroughs for getting dm0.10.x and
> > merb-edge running together??
> >
> > >
> 
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to