Closed olleolleolle closed 2 years ago
3700e02c901d50dc197f8b1ae0bba35d605e80c8 added it, to support this gem when Rails 4 was very new.
The gemspec nowadays requires active_model >= 4.2 as a runtime dependency, so this supporting code is never used.
What Rails 4.2 offers: https://github.com/rails/rails/blob/4-2-stable/activemodel/lib/active_model/model.rb
3700e02c901d50dc197f8b1ae0bba35d605e80c8 added it, to support this gem when Rails 4 was very new.
The gemspec nowadays requires active_model >= 4.2 as a runtime dependency, so this supporting code is never used.
What Rails 4.2 offers: https://github.com/rails/rails/blob/4-2-stable/activemodel/lib/active_model/model.rb