Skip to content

Commit

Permalink
✂️
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
kamipo committed Apr 12, 2017
1 parent 92ba89d commit faca40d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion activemodel/lib/active_model/validations/format.rb
@@ -1,4 +1,3 @@

module ActiveModel
module Validations
class FormatValidator < EachValidator # :nodoc:
Expand Down
1 change: 0 additions & 1 deletion activemodel/lib/active_model/validations/presence.rb
@@ -1,4 +1,3 @@

module ActiveModel
module Validations
class PresenceValidator < EachValidator # :nodoc:
Expand Down
1 change: 0 additions & 1 deletion activemodel/test/validators/email_validator.rb
@@ -1,4 +1,3 @@

class EmailValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
record.errors[attribute] << (options[:message] || "is not an email") unless
Expand Down
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations.rb
Expand Up @@ -1649,7 +1649,7 @@ def has_one(name, scope = nil, options = {})
# you don't want to have association presence validated, use <tt>optional: true</tt>.
# [:default]
# Provide a callable (i.e. proc or lambda) to specify that the association should
# be initialized with a particular record before validation.
# be initialized with a particular record before validation.
#
# Option examples:
# belongs_to :firm, foreign_key: "client_of"
Expand Down
1 change: 0 additions & 1 deletion activerecord/lib/active_record/dynamic_matchers.rb
@@ -1,4 +1,3 @@

module ActiveRecord
module DynamicMatchers #:nodoc:
def respond_to_missing?(name, include_private = false)
Expand Down
1 change: 0 additions & 1 deletion activerecord/test/cases/coders/yaml_column_test.rb
@@ -1,4 +1,3 @@

require "cases/helper"

module ActiveRecord
Expand Down
1 change: 0 additions & 1 deletion activerecord/test/cases/integration_test.rb
@@ -1,4 +1,3 @@

require "cases/helper"
require "models/company"
require "models/developer"
Expand Down

0 comments on commit faca40d

Please sign in to comment.