Skip to content
Permalink
Browse files

Rubocop

  • Loading branch information...
cheerfulstoic committed Apr 3, 2015
1 parent 44df375 commit f2b2d7c50ae05478d0fc25b04748c3dffdce1cac
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/neo4j/active_node/has_n.rb
@@ -107,7 +107,7 @@ def inherited(klass)
# has_many :out, :vehicles, type: :has_vehicle
#
# This would define the following methods:
#
#
# **#vehicles**
# Returns a QueryProxy object. This is an Enumerable object and thus can be iterated
# over. It also has the ability to accept class-level methods from the Vehicle model
@@ -129,7 +129,7 @@ def inherited(klass)
# **Available values:** ``:in``, ``:out``, or ``:both``.
#
# Refers to the relative to the model on which the association is being defined.
#
#
# Example:
# ``Person.has_many :out, :posts, type: :wrote``
#
@@ -171,7 +171,7 @@ def has_many(direction, name, options = {}) # rubocop:disable Style/PredicateNam
#
# See :ref:`#has_many <Neo4j/ActiveNode/HasN/ClassMethods#has_many>` for anything
# not specified here
#
#
def has_one(direction, name, options = {}) # rubocop:disable Style/PredicateName
name = name.to_sym
build_association(:has_one, direction, name, options)

0 comments on commit f2b2d7c

Please sign in to comment.
You can’t perform that action at this time.