Update rails_adapter.rb