Seems to be fixed. Odd that I got no reply whatsoever, but hey, I''m
glad it''s fixed!
Hooray for 0.4 being released! (and swiftiply being fixed) I can stop
following trunk and stop bothering everyone with dumb questions. :)
On Nov 5, 2007 8:34 PM, Kevin Williams <kevwil at gmail.com>
wrote:> I''m following merb trunk. This morning I updated my gems,
sync''d merb
> source and installed the merb gem from source. I don''t know if I
did
> something wrong, or if a new gem messed things up, or if there was a
> merb change which broke something. Now I get this error:
>
> Request: REQUEST_URI: / (2007-11-05 20:27:04)
> Params: {"action"=>"index",
"controller"=>"articles"}
> Cookies:
{"_session_id"=>"fe8eea1f497d002ee39ad61cbd868a2b"}
> Setting up session
> undefined method `keys'' for #<Article:0x16b2de8> -
(NoMethodError)
> /Users/kevwil/dev/git/rubyrubyroo/app/views/articles/index.html.haml:4
>
/Library/Ruby/Gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:1863:in
> `method_missing''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/mixins/controller.rb:65:in
`url''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/view_context.rb:73:in
`send''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/view_context.rb:73:in
> `method_missing''
> (eval):11:in `_render_haml_1''
> (eval):8:in `each''
> (eval):8:in `_render_haml_1''
> /Library/Ruby/Gems/1.8/gems/haml-1.7.1/lib/haml/engine.rb:435:in
`send''
> /Library/Ruby/Gems/1.8/gems/haml-1.7.1/lib/haml/engine.rb:435:in
`compile''
> /Library/Ruby/Gems/1.8/gems/haml-1.7.1/lib/haml/engine.rb:186:in
`to_html''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/template/haml.rb:44:in
> `transform''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/mixins/render.rb:209:in
`render''
> /Users/kevwil/dev/git/rubyrubyroo/app/controllers/articles.rb:10:in
`index''
>
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/abstract_controller.rb:57:in
> `send''
>
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/abstract_controller.rb:57:in
> `call_action''
>
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/abstract_controller.rb:32:in
> `dispatch''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/controller.rb:80:in
`dispatch''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:53:in
> `dispatch_action''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:35:in
`handle''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/mongrel_handler.rb:86:in
> `process''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:155:in
`process_client''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:154:in
`each''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:154:in
`process_client''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`initialize''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`new''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:264:in
`initialize''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:264:in
`new''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:264:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:282:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:281:in
> `each''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:281:in
`run''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:557:in
`cloaker_''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:50:in
`call''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:50:in
> `initialize''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:548:in
`new''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:548:in
`mongrel_start''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:477:in
`run''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/bin/merb:6
> /usr/bin/merb:16:in `load''
> /usr/bin/merb:16
> undefined method `each'' for #<Merb::MemorySession:0x20f5404>
- (NoMethodError)
> (erubis):144:in `dispatch_default_exception''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:95:in
> `dispatch_default_exception''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:77:in
> `dispatch_exception''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:39:in
`handle''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/mongrel_handler.rb:86:in
> `process''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:155:in
`process_client''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:154:in
`each''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:154:in
`process_client''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`initialize''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`new''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:281:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:264:in
`initialize''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:264:in
`new''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:264:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:282:in
`run''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:281:in
> `each''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:281:in
`run''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:557:in
`cloaker_''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:50:in
`call''
> /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel/configurator.rb:50:in
> `initialize''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:548:in
`new''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:548:in
`mongrel_start''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:477:in
`run''
> /Library/Ruby/Gems/1.8/gems/merb-0.4.0/bin/merb:6
> /usr/bin/merb:16:in `load''
> /usr/bin/merb:16
>
>
> Any suggestions?
>
> --
> Cheers,
>
> Kevin Williams
> http://kevwil.com
>