Remove unused model state
generateIdForForRecord should reify adapter
set default_external for ruby 1.9