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

Lead by example: lint PORO model #1063

Merged
merged 1 commit into from
Aug 20, 2015
Merged

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Aug 18, 2015

No description provided.

@bf4
Copy link
Member Author

bf4 commented Aug 18, 2015

@joaomdmoura This, arguably, was missing from #996

def updated_at
@attributes[:updated_at] ||= DateTime.now.to_time
def serializable_hash(options = nil)
@attributes
Copy link
Member Author

Choose a reason for hiding this comment

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

Interestingly, this method was missing

Copy link
Member

Choose a reason for hiding this comment

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

👍

@joaomdmoura
Copy link
Member

👍

joaomdmoura added a commit that referenced this pull request Aug 20, 2015
Lead by example: lint PORO model
@joaomdmoura joaomdmoura merged commit fc7b9c3 into rails-api:master Aug 20, 2015
@bf4 bf4 deleted the poro_lint branch August 31, 2016 06:19
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.

2 participants