3scale/porta

View on GitHub
db/migrate/20110805140849_move_approval_required_attribute_to_plans.rb

Summary

Maintainability
A
0 mins
Test Coverage

MoveApprovalRequiredAttributeToPlans#self.up has the variable name 't'
Open

    change_table Plan.table_name do |t|
        t.boolean :approval_required, :null => false, :default => false
    end
    
    execute %{

An Uncommunicative Variable Name is a variable name that doesn't communicate its intent well enough.

Poor names make it hard for the reader to build a mental picture of what's going on in the code. They can also be mis-interpreted; and they hurt the flow of reading, because the reader must slow down to interpret the names.

MoveApprovalRequiredAttributeToPlans#self.down has the variable name 't'
Open

    change_table Service.table_name do |t|
      t.boolean :approval_required, :null => false, :default => false
    end
    
    %{

An Uncommunicative Variable Name is a variable name that doesn't communicate its intent well enough.

Poor names make it hard for the reader to build a mental picture of what's going on in the code. They can also be mis-interpreted; and they hurt the flow of reading, because the reader must slow down to interpret the names.

There are no issues that match your filters.

Category
Status