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

i have healthy relationships. #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LeslieKornes
Copy link

def generate_migrations
ActiveRecord::Migration.create_table :hotels do |t|
#insert our columns here

t.integer "room_count"
Copy link
Member

Choose a reason for hiding this comment

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

lgtm however i'd recommend using symbols here instead for column names.

see this post from late but legendary jim weirich:
https://groups.google.com/d/msg/columbusrb/cj-3jepBK1I/w2N5rYkzAqQJ

Copy link
Member

Choose a reason for hiding this comment

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

I hadn't seen that post before. Thanks for the link!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants