I'm trying to remove some attribute from my table using rails migration, I create the migration file and write this code :
class RemoveCompanySendReportAttributes < ActiveRecord::Migration[5.1]
def change
remove_colmun :companies, :time_limit_for_sending_report, :integer
remove_column :companies, :automatically_send_report, :boolean
end
end
it doesn't work and this is the error in my terminal :
Please register a mime type using
register_mime_typethen useregister_compressororregister_transformer. https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors (called from block in at /home/sa7noun/altagem-project/web/config/initializers/haml.rb:24) == 20180412151847 RemoveCompanySendReportAttributes: migrating ================ -- remove_colmun(:companies, :time_limit_for_sending_report, :integer) rake aborted! StandardError: An error has occurred, this and all later migrations canceled:undefined method `remove_colmun' for
undefined method remove_colmun- you have a typo in first line ofchangemethod