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-0.9.13 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-0.9.12 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-0.9.11 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-0.9.10 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-0.9.9 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-0.9.8 vendor/gems/her/lib/her/model/active_model_overrides.rb