Sha256: f5934bef4d57329409b75e2ea0a2deb52ec5ab9848dc73f5871dccbed232b09b

Contents?: true

Size: 257 Bytes

Versions: 66

Compression:

Stored size: 257 Bytes

Contents

module Her
  module Model
    module ActiveModelOverrides
      extend ActiveSupport::Concern

      def errors
        errors = super
        errors.messages.merge! @response_errors unless @response_errors.empty?
        errors
      end
    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
test_track_rails_client-7.1.2 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-7.1.1 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-7.0.0 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-6.0.0 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-5.0.1 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-5.0.0 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.2 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.1 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.rc3 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.rc2 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha35 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha34 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha33 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha32 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha31 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha30 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha29 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha28 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha27 vendor/gems/her/lib/her/model/active_model_overrides.rb