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

active record #14

Closed
happypeter opened this issue Jan 15, 2014 · 2 comments
Closed

active record #14

happypeter opened this issue Jan 15, 2014 · 2 comments

Comments

@happypeter
Copy link
Owner

find_by(title: "Title") is now preferred over find_by_title("Title") in Rails4

@happypeter
Copy link
Owner Author

rails g migration AddStateToIssues state:string
# edit the migration file to add `:default => 'open'`

@happypeter
Copy link
Owner Author

rails g model comment content:text user_id:integer issue_id:integer

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

No branches or pull requests

1 participant