Fix constantize error (Rails 4)
fixes tableize error (Rails 4)