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

changed all instances of all.map to pluck #5509

Closed
wants to merge 6 commits into from

Conversation

sandeepravi
Copy link

No description provided.

@arunagw
Copy link
Member

arunagw commented Mar 20, 2012

Can you also change in other files?

@lest
Copy link
Contributor

lest commented Mar 20, 2012

I think that we don't need to change it in tests.

@arunagw
Copy link
Member

arunagw commented Mar 20, 2012

70a19b7 this got merged. If we have to change let's do it in one shot.

@lest
Copy link
Contributor

lest commented Mar 20, 2012

This change looks weird to me because all.map and pluck semantics are different.

@sandeepravi
Copy link
Author

Yeah, the semantics are different but pluck will be faster than an all.map. So, it makes sense to change it, right?

@lest
Copy link
Contributor

lest commented Mar 20, 2012

IMO we shouldn't change semantics in tests.

josevalim and others added 5 commits March 27, 2012 03:05
prevent returning a negative zero from number_with_precision
Previously `rendered_format` was set only based on mime types
passed in Accept header, which was wrong if first type from
Accept was different than rendered partial. The fix is to simply
move setting rendered_format to the place where template
is available and grab format from the template. If it fails
we can fallback to formats passed by Accept header.
@sandeepravi sandeepravi reopened this Mar 27, 2012
@arunagw
Copy link
Member

arunagw commented Mar 31, 2012

Closing this. Please reopen this PR with proper commits in it. I think it's somehow messed up with other commits.

Thanks :-)

@arunagw arunagw closed this Mar 31, 2012
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

6 participants