warning: require_gem is obsolete. Use gem instead.

Hello Friends,
This is a very common warning that everyone gets. I upgarded my gem
and rails version to gem 0.9.2 and rails1.2.3
After i changed the version i got the warning "warning: require_gem is
obsolete. Use gem instead". so i changed all the require_gem to gem.
but after i changed it i got an error

./nxw-persistency-0.2/photo.rb:22: uninitialized constant
Crystallizer::ActiveRecord (NameError)
  from C:/Program Files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require'
  from C:/Program Files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require'

my code where i am getting an error

module Crystallizer

require 'rubygems'
gem 'activerecord'

class Photo < ActiveRecord::Base(ERROR IS ON THIS LINE)

Any kind of help will be appreciated
Thank you

my code where i am getting an error

module Crystallizer

require 'rubygems'
gem 'activerecord'

What you want is just

   require 'activerecord'

gem is only needed if you're looking to specify a specific version of
the gem.

What is the specific error (as opposed to 'no idea what i'm talking
about')

That could help a bit more.

Zach