Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wristband distribution #250

Merged
merged 4 commits into from
Mar 28, 2017
Merged

Wristband distribution #250

merged 4 commits into from
Mar 28, 2017

Conversation

sclark
Copy link
Member

@sclark sclark commented Mar 24, 2017

Temporary fix for issue #220

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 15.283% when pulling ff5cb9d on wristband-dist into a5b7e67 on new-features.

elsif building
@wristband = "Red"
else
@wristband = "Blue"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please use a reasonable constant here rather than "Red" and "Blue" This new code will already have to change yearly (which sucks), but we should at least have semantically named constants

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like a good idea to me.

@@ -0,0 +1,5 @@
class AddBuildingStatusToOrganizationCategory < ActiveRecord::Migration
def change
add_column :organization_categories, :building_status, :boolean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be is_building? More Rails'esque and conveys that it's a boolean

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea that sounds better.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.09%) to 15.261% when pulling 2091498 on wristband-dist into a5b7e67 on new-features.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.09%) to 15.292% when pulling fd0a0d8 on wristband-dist into de1891d on new-features.

@sclark sclark merged commit 97279ac into new-features Mar 28, 2017
@sclark sclark deleted the wristband-dist branch March 28, 2017 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants