This seems to be a problem with feather or merb_paginate not Merb itself.
I'd check your model and making sure will_paginate is required/ included properly. Otherwise regarding pagination and merb, Mislav is working on an agnostic version of will_paginate and I'd expect a stable version for around Merb 1.0 Matt Sent from my iPhone On Sep 20, 2008, at 20:12, "Scott M. Likens" <[EMAIL PROTECTED]> wrote: > > Hi, > > I updated merb the other day for the latest and greatest development > version and I hit a snag... > > > I call for MerbPaginate::Finder::Datamapper however it's throwing an > error uninitialized constant MerbPaginate::Finders - (NameError) > > I looked over the latest commits in merb_datamapper and I really > didn't > see anything... I realize feather can stop using merb_paginate, > however > it's a handy dry way to deal with things. > > So if there's a suggested way to paginate instead I'm all ears, > otherwise I'd love to get down to the bottom of this. > > Model is here, > http://github.com/mleung/feather/tree/edge/app/models/article.rb > > Thanks for your time, full trace below. > > Thanks, > > Scott > > ~ Loaded DEVELOPMENT Environment... > ~ loading gem 'merb_datamapper' ... > ~ loading gem 'merb_helpers' ... > ~ loading gem 'merb-assets' ... > ~ loading gem 'merb-cache' ... > ~ loading gem 'merb-action-args' ... > ~ loading gem 'merb_has_flash' ... > ~ loading gem 'merb_helpers' ... > ~ loading gem 'merb-mailer' ... > ~ loading gem 'merb_paginate' ... > ~ loading gem 'merb-slices' ... > ~ Registered slice 'MerbAuth' located at > /usr/local/lib/ruby/gems/1.8/gems/merb-auth-0.1.0 > ~ loading gem 'merb-auth' ... > ~ loading gem 'dm-aggregates' ... > ~ loading gem 'dm-validations' ... > ~ loading gem 'dm-timestamps' ... > ~ loading gem 'dm-core' ... > ~ Connecting to database... > ~ WARNING: Merb.orm_generator_scope is deprecated > ~ Filter login_required was not found in your filter chain. > ~ Filter login_required was not found in your filter chain. > ~ Loaded slice 'MerbAuth' ... > ~ Could not load /Users/slikens/feather/app/models/article.rb: > > uninitialized constant MerbPaginate::Finders - (NameError) > > /Users/slikens/feather/app/models/article.rb:3 > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:380:in > `load' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:380:in > `load_file' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:478:in > `load_classes_with_requirements' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:475:in > `each' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:475:in > `load_classes_with_requirements' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:400:in > `load_classes' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:370:in > `run' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > vendor/facets/dictionary.rb:268:in > `each' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > vendor/facets/dictionary.rb:268:in > `each' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:368:in > `run' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:69:in > `run' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > server.rb:51:in > `start' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core.rb: > 108:in > `start' > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/bin/merb:11 > /usr/local/bin/merb:19:in `load' > /usr/local/bin/merb:19 > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:494:in > `load_classes_with_requirements': Could not load > ["/Users/slikens/feather/app/models/article.rb"] (see log for > details). > (LoadError) > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:400:in > `load_classes' > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:370:in > `run' > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > vendor/facets/dictionary.rb:268:in > `each' > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > vendor/facets/dictionary.rb:268:in > `each' > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:368:in > `run' > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > bootloader.rb:69:in > `run' > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/ > server.rb:51:in > `start' > from > /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core.rb: > 108:in > `start' > from /usr/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/bin/merb:11 > from /usr/local/bin/merb:19:in `load' > from /usr/local/bin/merb:19 > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
