Nirav
2012-Oct-16 08:40 UTC
`method_missing_without_paginate'': undefined method `class_attribute'' for ActiveRecord::Base:Class
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can''t able to run my existing application. error occurred : run command for server "script/server -e production -p 3001" error: => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3001 config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. /home/bacancy/Demo_app/smart/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.1.3/lib/authlogic/acts_as_authentic/base.rb:7:in `included'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in `class_eval'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in `included'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in `include'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in `send'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97 from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'' from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:59 from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6:in `each'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6 from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'' from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'' from /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/rails/init.rb:1:in `evaluate_init_rb'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:158:in `evaluate_init_rb'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:154:in `evaluate_init_rb'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:48:in `load'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `load_plugins'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:369:in `load_plugins'' from /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:175:in `load_plugins'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:165:in `process'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in `send'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in `run'' from /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:148:in `run'' from /home/bacancy/Demo_app/smart/config/environment.rb:12 from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'' from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'' from /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/commands/server.rb:84 from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'' from /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'' from script/server:3 id there any gem dependency? or versions that i have used is dependable to each other or not? i reinstall radiant twice. Thank you in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/L523btZSCYMJ. For more options, visit https://groups.google.com/groups/opt_out.
Thota praneeth
2012-Oct-16 11:29 UTC
Re: `method_missing_without_paginate'': undefined method `class_attribute'' for ActiveRecord::Base:Class
have you tried this command : rake gems:refresh_specs and have you install the paginate gem (gem install tism-will_paginate) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Norbert Melzer
2012-Oct-16 11:47 UTC
Re: `method_missing_without_paginate'': undefined method `class_attribute'' for ActiveRecord::Base:Class
From authlogic readme: ** Please note the latest version is compatible with rails 3 only. Please see the rails2 branch for Rails 2 compatibility. Did you used the rails branch or have you installed it as a gem? The gem will be probably incompatible with your rails version. Am 16.10.2012 10:40 schrieb "Nirav" <nirav.mtech101-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> hi > i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. > and i can''t able to run my existing application. > > error occurred : > > run command for server "script/server -e production -p 3001" > > error: > > => Booting WEBrick > => Rails 2.3.4 application starting on http://0.0.0.0:3001 > config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no > specification file. Run ''rake gems:refresh_specs'' to fix this. > /home/bacancy/Demo_app/smart/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.1.3/lib/authlogic/acts_as_authentic/base.rb:7:in > `included'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in > `class_eval'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in > `included'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in > `include'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in > `send'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in > `require'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:59 > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6:in > `each'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in > `require'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/rails/init.rb:1:in > `evaluate_init_rb'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:158:in > `evaluate_init_rb'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in > `silence_warnings'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:154:in > `evaluate_init_rb'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:48:in > `load'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:38:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in > `each'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:369:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:175:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:165:in > `process'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in > `send'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in > `run'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:148:in > `run'' > from /home/bacancy/Demo_app/smart/config/environment.rb:12 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/commands/server.rb:84 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from script/server:3 > > id there any gem dependency? or versions that i have used is dependable to > each other or not? > i reinstall radiant twice. > Thank you in advance > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/L523btZSCYMJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Nirav
2012-Oct-16 12:34 UTC
Re: `method_missing_without_paginate'': undefined method `class_attribute'' for ActiveRecord::Base:Class
hi norbert, Thanx for reply, actually i have existing application and i have to configure it locally as well as on server so it needs authlogic gem but i have install authlogic 2.1.1 which is compatible to rails 2.3.4. and if i am wrong, please guide me. is my direction is write? Thanking you, Nirav On Tuesday, October 16, 2012 2:10:07 PM UTC+5:30, Nirav wrote:> > hi > i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. > and i can''t able to run my existing application. > > error occurred : > > run command for server "script/server -e production -p 3001" > > error: > > => Booting WEBrick > => Rails 2.3.4 application starting on http://0.0.0.0:3001 > config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no > specification file. Run ''rake gems:refresh_specs'' to fix this. > /home/bacancy/Demo_app/smart/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.1.3/lib/authlogic/acts_as_authentic/base.rb:7:in > `included'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in > `class_eval'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in > `included'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in > `include'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in > `send'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in > `require'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:59 > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6:in > `each'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in > `require'' > from > /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/rails/init.rb:1:in > `evaluate_init_rb'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:158:in > `evaluate_init_rb'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in > `silence_warnings'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:154:in > `evaluate_init_rb'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:48:in > `load'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:38:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in > `each'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:369:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:175:in > `load_plugins'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:165:in > `process'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in > `send'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in > `run'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:148:in > `run'' > from /home/bacancy/Demo_app/smart/config/environment.rb:12 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in > `require'' > from > /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/commands/server.rb:84 > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require'' > from > /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in > `require'' > from script/server:3 > > id there any gem dependency? or versions that i have used is dependable to > each other or not? > i reinstall radiant twice. > Thank you in advance >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/oHKnDQxsRMEJ. For more options, visit https://groups.google.com/groups/opt_out.
Nirav
2012-Oct-16 12:39 UTC
Re: `method_missing_without_paginate'': undefined method `class_attribute'' for ActiveRecord::Base:Class
Hi Norbert, Thank You for reply, i have another problem facing in application. do you help me to figure it out. https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-talk/AG7gqElayS0 see the link above. please give me some needful tricks to solve it. On Tuesday, October 16, 2012 6:04:50 PM UTC+5:30, Nirav wrote:> > hi norbert, > > Thanx for reply, > > actually i have existing application and i have to configure it locally as > well as on server so it needs authlogic gem but i have install authlogic > 2.1.1 which is compatible to rails 2.3.4. and if i am wrong, please guide > me. is my direction is write? > > Thanking you, > Nirav > > On Tuesday, October 16, 2012 2:10:07 PM UTC+5:30, Nirav wrote: >> >> hi >> i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. >> and i can''t able to run my existing application. >> >> error occurred : >> >> run command for server "script/server -e production -p 3001" >> >> error: >> >> => Booting WEBrick >> => Rails 2.3.4 application starting on http://0.0.0.0:3001 >> config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no >> specification file. Run ''rake gems:refresh_specs'' to fix this. >> /home/bacancy/Demo_app/smart/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.1.3/lib/authlogic/acts_as_authentic/base.rb:7:in >> `included'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in >> `class_eval'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:6:in >> `included'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in >> `include'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97:in >> `send'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic/acts_as_authentic/base.rb:97 >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `gem_original_require'' >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `require'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in >> `require'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:59 >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6:in >> `each'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/lib/authlogic.rb:6 >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `gem_original_require'' >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `require'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in >> `require'' >> from >> /home/bacancy/.rvm/gems/ruby-1.8.7-p370/gems/authlogic-3.1.3/rails/init.rb:1:in >> `evaluate_init_rb'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:158:in >> `evaluate_init_rb'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in >> `silence_warnings'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:154:in >> `evaluate_init_rb'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin.rb:48:in >> `load'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:38:in >> `load_plugins'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in >> `each'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in >> `load_plugins'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:369:in >> `load_plugins'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:175:in >> `load_plugins'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:165:in >> `process'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in >> `send'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in >> `run'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/lib/radiant/initializer.rb:148:in >> `run'' >> from /home/bacancy/Demo_app/smart/config/environment.rb:12 >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `gem_original_require'' >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `require'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in >> `require'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in >> `new_constants_in'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in >> `require'' >> from >> /home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/commands/server.rb:84 >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `gem_original_require'' >> from >> /home/bacancy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in >> `require'' >> from script/server:3 >> >> id there any gem dependency? or versions that i have used is dependable >> to each other or not? >> i reinstall radiant twice. >> Thank you in advance >> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/CKjVbndXRY8J. For more options, visit https://groups.google.com/groups/opt_out.
Nirav
2012-Oct-16 12:46 UTC
Re: `method_missing_without_paginate'': undefined method `class_attribute'' for ActiveRecord::Base:Class
Hi Praneeth, yes i installed will_paginate version (3.0.3). and issue is in environment.rb . thanking you but now i facing problem related to authentication of application https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-talk/AG7gqElayS0 see the link above when i click on submit button above error in the link is generated. can you give me some useful guidance? do you know how to set up link in radiant on site? On Tuesday, October 16, 2012 5:00:15 PM UTC+5:30, Thota praneeth wrote:> > have you tried this command : rake gems:refresh_specs > and have you install the paginate gem (gem install tism-will_paginate) >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/H5GiM2GxzgQJ. For more options, visit https://groups.google.com/groups/opt_out.