Skip to content

errors.full_messages busted #143

Closed
Closed
@catmando

Description

@catmando

try it and see!

Work around is to apply these two patches:

module ReactiveRecord
  class Base
    def errors
      @errors ||= ActiveModel::Errors.new(ar_instance)
    end
  end
end

module ActiveRecord
  module ClassMethods
     def human_attribute_name(attribute, opts = {})
      opts[:default] || attribute
    end
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branch

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions