Namespace
Methods
A
C
Instance Public methods
add_column_with_limit_filter(table_name, column_name, type, options = {})
# File config/initializers/postgresql_limit_fix.rb, line 13
def add_column_with_limit_filter(table_name, column_name, type, options = {})
  options.delete(:limit) if type == :text
  add_column_without_limit_filter(table_name, column_name, type, options)
end
change_column_with_limit_filter(table_name, column_name, type, options = {})
# File config/initializers/postgresql_limit_fix.rb, line 18
def change_column_with_limit_filter(table_name, column_name, type, options = {})
  options.delete(:limit) if type == :text
  change_column_without_limit_filter(table_name, column_name, type, options)
end