Folks,

I just installed Rails 2.2.2 on my box and MySql 5.1.30. Running a
simple <Model>.find(:all) gives me a bunch of errors - snippet below.
The only answer I have found in searching around is to go back to an
older version of MySql. Is there any way to fix this or do I really have
to revert the MySql version?

>> Meal.find(:all)
ArgumentError: NULL pointer given
        from (eval):3:in `each_hash'
        from (eval):3:in `all_hashes'
        from
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record
/connection_adapters/mysql_adapter.rb:564:in `select'
        from
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record
/connection_adapters/abstract/database_statements.rb:7:in
`select_all_without_qu
ery_cache'

Thanks for your help.

-S
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to