Hi,

since tomorrows pull (maybe a month since last pull) i'm having the same
problem on Ubuntu 10.10 machine running apache2, ruby 1.8.7 (2011-06-30
patchlevel 352) [i686-linux].

I tried rake db:migrate RAILS_ENV="production" but got this message:
config.gem: Unpacked gem aruba-0.2.2 in vendor/gems has no specification
file. Run 'rake gems:refresh_specs' to fix this.

I don't know whether this was only a warning or it actually stopped rake
from updating the database. Have there been any changes to database lately
(last month or so)?

And here is the stack:

Processing ProjectsController#create (for 80.250.12.129 at 2012-03-27
08:51:12) [POST]


  Parameters: {"6"=>"e", "11"=>"w", "22"=>"i", "7"=>"_", "12"=>"=",
"23"=>"s", "_source_view"=>"project_list", "8"=>"v", "13"=>"p", "24"=>"t",
"9"=>"i", "14"=>"r",
"authenticity_token"=>"bvMgXtStaw6BiSUWfvlHAhiXcSvsjbfwzJfchWQ1jxQ=",
"15"=>"o", "project"=>{"name"=>"test", "
default_tags"=>"", "default_context_name"=>"", "description"=>""},
"0"=>"_", "16"=>"j", "1"=>"s", "17"=>"e", "2"=>"o", "18"=>"c", "3"=>"u",
"19"=>"t", "20"=>"_", "4"=>"r", "10"=>"e", "21"=>"l", "5"=>"c"}





NoMethodError (undefined method `unscoped' for #<Class:0xb68c2b50>):




vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/base.rb:1998:in
`method_missing_without_paginate'



vendor/ruby/1.8/gems/will_paginate-2.3.16/lib/will_paginate/finder.rb:170:in
`method_missing'



vendor/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:225:in
`bottom_item'



vendor/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:217:in
`bottom_position_in_list'



vendor/ruby/1.8/gems/acts_as_list-0.1.5/lib/acts_as_list/active_record/acts/list.rb:205:in
`add_to_list_bottom'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
`send'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
`evaluate_method'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in
`call'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:93:in
`run'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`each'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`send'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
`run'



vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in
`run_callbacks'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:344:in
`callback'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:311:in
`valid?'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/validations.rb:1088:in
`save_without_dirty'


  vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/dirty.rb:79:in
`save_without_transactions'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in
`send'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in
`with_transaction_returning_status'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
`transaction'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:182:in
`transaction'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:228:in
`with_transaction_returning_status'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in
`save'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:208:in
`rollback_active_record_state!'



vendor/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in
`save'


  app/controllers/projects_controller.rb:145:in `create'




vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
`send'



vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
`perform_action_without_filters'



vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in
`call_filters'



vendor/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in
`perform_action_without_benchmark'


... and some more ...


Thanks
Paja

On Mon, Mar 12, 2012 at 14:29, Reinier Balt <lrb...@gmail.com> wrote:

> >
> > Yes, I did it. I was upgrading a 2.0 database that was running on my
> expired
> > Bluehost account.
> > Since I'm not a Ruby developer, could you please help me understand the
> > error message?
> >
> > "NoMethodError (undefined method `unscoped' for #<Class:0xb614f788>):
> >  vendor/cache/ruby/1.8/gems/activerecord-
> > 2.3.14/lib/active_record/base.rb:1998:in
> > `method_missing_without_paginate'"
> >
>
> I'm trying to find time to look into this. It is not a common error
> message,
> so I need to look in the code and use google :-)
>
> > Is a method (unscoped?) really missing? Why could the problem be related
> > to a not updated database?
>
> I don't know, just checking where your install is at.
>
> Reinier
>
> _______________________________________________
> Tracks-discuss mailing list
> Tracks-discuss@lists.rousette.org.uk
> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
>
_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@lists.rousette.org.uk
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to