• E
    Make sure AR can load without Rails · 1d83ab93
    eileencodes 提交于
    In #36560 I accidentally re-introduced a bug where ActiveRecord can't be
    used without Rails. This returns an empty hash if we're outside the
    context of Rails since we can't create the database tasks without
    loading and reading the database yaml which is something only Railties
    can do.
    1d83ab93
database_tasks.rb 16.6 KB