Hi Helder, Unfortunately feather is not currently compatible with 1.0RC1... in order to get Feather working would be fujin's bundle.
See http://github.com/fujin/feather/tree/master Currently i'm in the process of updating it for 1.0RC1 however I've run into some stumbling blocks so I am going through the code trying to resolve the issues (when I have time). Scott On Oct 17, 2008, at 6:51 PM, Helder Ribeiro wrote: > > Hi Scott, > > Changing the order didn't help it for me. I was following this guide: > > http://github.com/mleung/feather/wikis/feather-install-typo-export > > So everything is from edge. I tried Michael's advice of downgrading > DataMapper (I installed 0.9.6 from the gem) and it still gives the > same problem. Any other ideas? > > Thanks! > > Helder > > On 23 Sep., 15:47, "Scott M. Likens" <[EMAIL PROTECTED]> wrote: >> Hi Myobi, >> >> It was getting outscoped by Admin::Articles namespace. Originally I >> attempted to use ::MerbPaginate::Finders::Datamapper and it was >> failing. >> >> However, changing the order seems to have fixed it. (e.g.) >> >> class Article >> include DataMapper::Resource >> include DataMapper::Validate >> include ::MerbPaginate::Finders::Datamapper >> >> Instead of it originally being, >> >> class Article >> include DataMapper::Validate >> include MerbPaginate::Finders::Datamapper >> include DataMapper::Resource >> >> Rather annoying, but it works at least with feather and a dm/merb >> as of >> a day or two ago. :) >> >> Scott >> >> myobie wrote: >>> Scott, >> >>> Did you find a fix? >> >>> On Sep 21, 5:13 pm, "Scott M. Likens" <[EMAIL PROTECTED]> wrote: >> >>>> Hi Michael, >> >>>> Thank you for the sanity check, so it's related to Datamapper... >>>> I'll >>>> check the commits in datamapper and try and track it down. >> >>>> Thanks. >> >>>> Scott M. Likens >> >>>> Michael D'Auria wrote: >> >>>>> Matt, >> >>>>> Have you upgraded DataMapper as well? I ran into a snag with the >>>>> latest dm that forced me to fallback to the latest stable >>>>> instead, my >>>>> merb however is the latest and greatest and I use merb_paginate >>>>> without issue. >> >>>>> Michael >> >>>>> On 9/21/08, Scott M. Likens <[EMAIL PROTECTED]> wrote: >> >>>>>> Matt, >> >>>>>> Knowing that this has worked in the past, and was working in >>>>>> 0.9.7 >>>>>> before a recent commit was made, I will not take your word for >>>>>> it and >>>>>> wait for a proper response. >> >>>>>> Thanks. >> >>>>>> Matt Aimonetti wrote: >> >>>>>>> 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 > > > > !DSPAM:48f9411520451804284693! > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
