Skip to content
Browse files

Remove an unnecessary return where it is implied.

  • Loading branch information...
1 parent e2b1daf commit 08568b473fc35aa737a91e39b27b4ab35021b1e0 @dylanahsmith committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
View
2 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -14,7 +14,7 @@ def initialize(name, default, sql_type = nil, null = true, collation = nil)
def extract_default(default)
if sql_type =~ /blob/i || type == :text
if default.blank?
- return nil
+ nil
else
raise ArgumentError, "#{type} columns cannot have a default value: #{default.inspect}"
end

0 comments on commit 08568b4

Please sign in to comment.
Something went wrong with that request. Please try again.