Anish Shah

Results 9 comments of Anish Shah

yes i have will_paginate in my gem file when i run it with the trace Invoke environment (first_time) *\* Execute environment *\* Invoke tire:import:model (first_time) *\* Execute tire:import:model [IMPORT] Importing...

that specify in my article.rb as in my first comment in lines 93 to 165

My console says helios@HS021:~/paragbhai_pro/dynalink$ rake environment tire:import:model CLASS='Article' FORCE=1 /home/helios/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler.rb:295: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 [IMPORT] Deleting index 'test' [IMPORT] Creating index 'test' with mapping:...

i already tried with rake environment tire:import CLASS='Article.all' rake environment tire:import all rake environment tire:import CLASS='Article' but error remains same

when run rake environment tire:import CLASS='Article' gives undefined method `paginate' for Article:Class

I have already tried different version of tire gem like 0.6.0,0.6.2 and 0.5.1

can you please suggest me the probable cause of error because I am middle of my development and this doesn't seems feasible idea to move tire gem to something else

i tried the example app. rails new searchapp -m https://raw.github.com/karmi/tire/master/examples/rails-application-template.rb and put my model code inside but import gives me the same error .. feel very sad! my article.rb MIN_TERM_CHARS...

when I run this command rake environment tire:import CLASS=Article FORCE=true i got error [IMPORT] Importing 'Article' rake aborted! undefined method `paginate' for Article:Class