search for: method_missing_without_paginate

Displaying 14 results from an estimated 14 matches for "method_missing_without_paginate".

2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
...vendor/radiant/vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activerecord/lib/active_record/base.rb:1959:in `method_missing_without_paginate'': undefined method `class_attribute'' for ActiveRecord::Base:Class (NoMethodError) from /home/bacancy/Demo_app/smart/vendor/gems/mislav-will_paginate-2.2.3/lib/will_paginate/finder.rb:164:in `method_missing'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3...
2009 Nov 17
5
has_many :through and foo.bars.include?
...rb:692:in `exists?'' from /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.4/lib/ active_record/associations/association_collection.rb:380:in `send'' from /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.4/lib/ active_record/associations/association_collection.rb:380:in `method_missing_without_paginate'' from /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.4/lib/ active_record/base.rb:2143:in `with_scope'' from /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.4/lib/ active_record/associations/association_proxy.rb:206:in `send'' from /usr/lib64/ruby/gem...
2008 Sep 03
1
edge rails config.cache_classes = true breaks applications
...oblem to the following line config.cache_classes = true if i disable the class caching, everything works just fine, when enabling the cache_classes, lots of errors get dropped -- see the output below: error #1: /Users/zecko/GIT/myapp/vendor/rails/activerecord/lib/active_record/base.rb:1742:in `method_missing_without_paginate'': undefined method `file_field'' for #<Class:0x36b049c> (NoMethodError) from /Users/zecko/GIT/myapp/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'' from /Users/zecko/GIT/myapp/app/models/carsa_club.rb:117 from /Library/Ruby/Site...
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
...t creation flow and needed to enable the UserObserver. I did so by including it in the environment.rb (config.active_record.observers = :user_observer) and Rails wouldn''t start. I got the following error; source/communitysites/vendor/rails/activerecord/lib/active_record/ base.rb:1672:in `method_missing_without_paginate'': undefined method `format_attribute'' for #<Class:0x2256a14> (NoMethodError) from /source/communitysites/vendor/plugins/will_paginate/lib/ will_paginate/finder.rb:164:in `method_missing'' from /source/communitysites/app/forums/models/post.rb:7 from /source/communi...
2009 Mar 24
12
MonkeyPatching ActiveRecord::Base class
I am trying to monkey-patch the ActiveRecord::Base class to incorporate a generic search class method so that it can be used by all model classes which need this functionality. Since model classes directly inherit from ActiveRecord::Base and unlike controllers and helpers, do not have an ancestor class defined, I think I am forced to open the ActiveRecord::Base class and patch it? May be I am
2009 Feb 21
3
Help w/ rake db:migrate error
...Development/Work/Rails/pcod) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `random'' for Tidbit(Table doesn''t exist):Class /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/ base.rb:1833:in `method_missing_without_paginate'' /Users/Eric/Development/Work/Rails/pcod/vendor/plugins/will_paginate/ lib/will_paginate/finder.rb:167:in `method_missing'' /Users/Eric/Development/Work/Rails/pcod/app/controllers/application.rb: 6 /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ dependencies.rb:...
2008 Mar 04
0
Help with RailRoad
When I run this code I don''t hace any problem: railroad -a -i -o full_models.dot -C But if run this code: railroad -a -i -o full_models.dot -M I get this: /Users/juan/Desktop/dticket_4_03_08/vendor/rails/activerecord/lib/active_record/base.rb:1532:in `method_missing_without_paginate'': undefined method `_'' for #<Class:0x251965c> (NoMethodError) from /Users/juan/Desktop/dticket_4_03_08/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:93:in `method_missing'' from ./app/models/setting.rb:4 from /opt/local/lib/ruby/vendor_ruby/1.8/rubyg...
2010 Mar 01
0
undefined method for Polymorphic association using Searchlogic
..._scopes/ordering.rb:30:in `method_missing'' from /Users/chino/Documents/git/isf001/vendor/plugins/searchlogic/lib/ searchlogic/named_scopes/or_conditions.rb:28:in `method_missing'' from /Users/chino/Documents/git/isf001/vendor/rails/activerecord/lib/ active_record/base.rb:1959:in `method_missing_without_paginate'' from /Users/chino/Documents/git/isf001/vendor/plugins/will_paginate/ lib/will_paginate/finder.rb:170:in `method_missing'' from (irb):16 from :0 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this...
2009 Jul 08
2
RuntimeError (JPEG marker not found!):
Hi, while generating the PDF file , i am getting following error.. please help for me. RuntimeError (JPEG marker not found!): C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/ graphics/imageinfo.rb:176:in ` measure_JPEG'' C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/ graphics/imageinfo.rb:174:in ` loop''
2008 Oct 02
1
acts_as_taggable_on environment issues
...tidbitz mark$ ./script/runner BackgroundController.sendEmailNotifications /Users/mark/Documents/Feedback Games/development/tidbitz/vendor/rails/ railties/lib/commands/runner.rb:47: /Users/mark/Documents/Feedback Games/development/tidbitz/vendor/rails/activerecord/lib/active_record/ base.rb:1667:in `method_missing_without_paginate'': undefined method `acts_as_taggable_on'' for #<Class:0x20e1f08> (NoMethodError) from /Library/Ruby/Gems/1.8/gems/mislav-will_paginate-2.3.4/lib/ will_paginate/finder.rb:164:in `method_missing'' from /Users/mark/Documents/Feedback Games/development/tidbitz/app/ mode...
2011 Jan 13
5
undefined method `xss_terminate'
...he following error: $ rake db:migrate --trace ... rake aborted! An error has occurred, all later migrations canceled: undefined method `xss_terminate'' for #<Class:0x7f333e5759e0> /home/martron/.rvm/gems/ruby-1.8.7-p330@orba/gems/activerecord-2.3.5/lib/active_record/base.rb:1959:in `method_missing_without_paginate'' /home/martron/.rvm/gems/ruby-1.8.7-p330@orba/gems/mislav-will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'' ... xss_template is installed in the vendors/plugins folder (I even tried reinstalling). I get the feeling that the problem isn''t actually...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...ine for me. The current error I am getting exactly looks like this:- undefined method `has_attached_file'' for #<Class:0xb67119f0> The **Application Trace** for the same is:- /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in `method_missing_without_paginate'' vendor/plugins/will_paginate/lib/will_paginate/finder.rb:170:in `method_missing'' app/models/group_post.rb:9 app/controllers/groups_controller.rb:27:in `show'' The **Full Trace** for this just in case is:- /home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/acti...
2009 Mar 15
3
Capistrano deploy errors
Hi, when I do cap deploy:cold I get this error: rake aborted! undefined local variable or method `acts_as_commentable'' for #<Class: 0x7fa1c34a2f10> /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ base.rb:1833:in `method_missing_without_paginate'' /usr/local/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.8/lib/ will_paginate/finder.rb:170:in `method_missing'' /var/www/testapp/releases/20090315203606/app/models/nibble.rb:2 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:382:in `load...
2010 Apr 20
1
dashboard: rake install fails (Solaris10)
Hi all, I am trying to install dashboard 1.0.0rc1. Independantly if have manually installed authlogic - gem or not it is throwing the following trace. The problem is the same when I am resetting (rake db:reset) or dropping the database. any ideas? best regards Lutz bash-3.00# rake install (in /opt/puppet-dashboard) dashboard_development already exists can''t activate authlogic (=