Fixing Property#serial? for Rails 4.2