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

Syntax cleanup: for in => each on ActiveRecord #1161

Merged
merged 2 commits into from May 20, 2011

Conversation

guilleiguaran
Copy link
Member

No description provided.

@fxn
Copy link
Member

fxn commented May 20, 2011

I personally like the for loop, but #each is considered to be much more idiomatic for sure, and it is what the code base uses, so good :).

fxn added a commit that referenced this pull request May 20, 2011
Syntax cleanup:  for in => each on ActiveRecord
@fxn fxn merged commit 5b8bc46 into rails:master May 20, 2011
@asanghi
Copy link
Contributor

asanghi commented May 20, 2011

Would be nice however, if it was done in one whole swoop though, so the core team doesnt have the hassle of doing smaller bit by bit commits?

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.

None yet

3 participants