Skip to content

Commit 2cd321b

Browse files
authored
Merge pull request #10 from saveriomiroddi/remove_unnecessary_code
Remove unnecessary ConnectionAdapters::Table#json method
2 parents 18355eb + 95f3be6 commit 2cd321b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/active_record/connection_adapters/abstract/json_schema_definitions.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,5 @@ def json(*args)
1515
column_names.each { |name| column(name, :json, options) }
1616
end
1717
end
18-
19-
class Table
20-
def json(*args)
21-
options = args.extract_options!
22-
args.each do |column_name|
23-
@base.add_column(name, column_name, :json, options)
24-
end
25-
end
26-
end
2718
end
2819
end

0 commit comments

Comments
 (0)