Rails 4 : base_klass instead active_record