From b45c9ca9b6571108242c1dfc3d3e160f56baf025 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 7 Aug 2016 23:41:00 +0200 Subject: revises most Lint/EndAlignment offenses Some case expressions remain, need to think about those ones. --- activerecord/lib/active_record/attribute_methods.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activerecord/lib/active_record/attribute_methods.rb') diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index 367e7fba84..ba26a11b39 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -162,9 +162,9 @@ module ActiveRecord def attribute_names @attribute_names ||= if !abstract_class? && table_exists? attribute_types.keys - else - [] - end + else + [] + end end # Returns true if the given attribute exists, otherwise false. -- cgit v1.2.3