work with rails 4.1 (no methods), work with modules along with classes