Allow procs for label and value methods in grouped collection selects. #690

Merged
merged 2 commits into from Jan 2, 2013

Conversation

Projects
None yet
2 participants
Contributor

svendahlstrand commented Nov 12, 2012

This is one solution to issue #623. I'm not to happy about monkey patching Rails though, are there better solutions?

This patch will not be needed when SimpleForm is used with Rails >= 4.0 thanks to this: rails/rails@9035324.

Collaborator

rafaelfranca commented Jan 2, 2013

No. This is the best current solution.

Thank you so much and sorry for the delay.

rafaelfranca added a commit that referenced this pull request Jan 2, 2013

Merge pull request #690 from svendahlstrand/grouped_collection_procs
Allow procs for label and value methods in grouped collection selects.

rafaelfranca added a commit that referenced this pull request Jan 2, 2013

@rafaelfranca rafaelfranca merged commit 5e7f18d into plataformatec:master Jan 2, 2013

1 check failed

default The Travis build failed
Details
Contributor

svendahlstrand commented Jan 2, 2013

Awesome, thanks! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment