Humm...
singularize beleives that the singular form of "databases" is "databasis"
"Databases".singularize => "Databasis"
Without having tried this in a real rails app. You should be able to add those lines into config/environment.rb
Inflector.inflections do |inflect| inflect.plural(/(database)$/i, '\1s') inflect.singular(/(database)s$/i, '\1') end
It at least worked to add this inside script/console.