Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pyromaniac committed Mar 6, 2014
1 parent 0561d1e commit 0b385a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/active_data/model/associations/base.rb
Expand Up @@ -14,10 +14,6 @@ def reset
@target = nil
end

def validate?
false
end

def loaded?
!!@loaded
end
Expand Down
4 changes: 4 additions & 0 deletions lib/active_data/model/associations/reflections/base.rb
Expand Up @@ -20,6 +20,10 @@ def klass
end
end

def validate?
false
end

def class_name
@class_name ||= (options[:class_name].presence || name.to_s.classify).to_s
end
Expand Down

0 comments on commit 0b385a8

Please sign in to comment.