add index to rate tables slug column
don't assume content isn't nil
add tests for nil arguments
add rake task to update effective date