diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-09 20:17:59 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-09 20:17:59 -0300 |
commit | a929d78d7b4a1341c0ed538cdcce0b381f410a35 (patch) | |
tree | cf01eb4e4f4b172b040e90f976705145d7e26c67 /activerecord/lib/active_record/associations/builder/belongs_to.rb | |
parent | 3c27b6ee7e34a3ee2e73c3e77f7a13c60b53c3d2 (diff) | |
download | rails-a929d78d7b4a1341c0ed538cdcce0b381f410a35.tar.gz rails-a929d78d7b4a1341c0ed538cdcce0b381f410a35.tar.bz2 rails-a929d78d7b4a1341c0ed538cdcce0b381f410a35.zip |
Move macro to class level
Diffstat (limited to 'activerecord/lib/active_record/associations/builder/belongs_to.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/builder/belongs_to.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/builder/belongs_to.rb b/activerecord/lib/active_record/associations/builder/belongs_to.rb index 38034f6bc6..e5cf6576a5 100644 --- a/activerecord/lib/active_record/associations/builder/belongs_to.rb +++ b/activerecord/lib/active_record/associations/builder/belongs_to.rb @@ -1,6 +1,6 @@ module ActiveRecord::Associations::Builder class BelongsTo < SingularAssociation #:nodoc: - def macro + def self.macro :belongs_to end |