• Sean McGivern's avatar
    Enable RuboCop for migrations · 98bb435f
    Sean McGivern authored
    Migrations shouldn't fail RuboCop checks - especially lint checks, such
    as the nested method check. To avoid changing code in existing
    migrations, add the magic comment to the top of each of them to skip
    that file.
    98bb435f
20160508194200_remove_wall_enabled_from_projects.rb 188 Bytes
# rubocop:disable all
class RemoveWallEnabledFromProjects < ActiveRecord::Migration
  def change
    remove_column :projects, :wall_enabled, :boolean, default: true, null: false
  end
end