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-4.0.0.alpha26 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha25 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha24 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha23 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha22 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha21 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha20 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha19 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha18 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha17 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha16 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha15 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha14 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha13 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha12 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha11 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha10 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha9 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha8 vendor/gems/her/lib/her/model/active_model_overrides.rb
test_track_rails_client-4.0.0.alpha7 vendor/gems/her/lib/her/model/active_model_overrides.rb