{"comment":{"created_at":"2011-10-16T16:07:18Z","body":"thanks !","updated_at":"2011-10-16T16:07:18Z","url":"https://api.github.com/repos/mislav/will_paginate/issues/comments/2421576","id":2421576,"user":{"gravatar_id":"a89207e0a690af4bb03f90936e0ad576","avatar_url":"https://secure.gravatar.com/avatar/a89207e0a690af4bb03f90936e0ad576?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/fu-media","id":596169,"login":"fu-media"}},"action":"created","issue":{"number":174,"created_at":"2011-09-05T01:27:14Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hello,\r\nAfter adding will_paginate to my Gemfile I get this error:\r\n\r\n~~~\r\ngem 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git'\r\n\r\nundefined local variable or method `per' for []:ActiveRecord::Relation\r\n\r\nRails.root: /home/slava/dev/projects/bitcoin-derivatives\r\nApplication Trace | Framework Trace | Full Trace\r\n\r\nactiverecord (3.1.0) lib/active_record/relation.rb:459:in `method_missing'\r\n/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree-037b9258f970/core/lib/spree/search/base.rb:15:in `retrieve_products'\r\n/home/slava/.rvm/gems/ruby-1.9.2-p290/bundler/gems/spree-037b9258f970/core/app/controllers/home_controller.rb:7:in `index'\r\n~~~","comments":4,"title":"undefined local variable or method `per' for []:ActiveRecord::Relation","updated_at":"2011-10-16T16:07:18Z","url":"https://api.github.com/repos/mislav/will_paginate/issues/174","id":1564308,"assignee":null,"milestone":null,"closed_at":"2011-09-06T11:33:16Z","user":{"gravatar_id":"78e7109f5fd74ae07678541288f0a417","avatar_url":"https://secure.gravatar.com/avatar/78e7109f5fd74ae07678541288f0a417?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/slavix","id":38520,"login":"slavix"},"html_url":"https://github.com/mislav/will_paginate/issues/174","labels":[{"name":"invalid","url":"https://api.github.com/repos/mislav/will_paginate/labels/invalid","color":"afcce0"}],"state":"closed"},"legacy":{"issue_id":1564308,"comment_id":2421576}}