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

Fix usage of type_cast in preparation of rails 4.2.0 upgrade #5

Merged
merged 1 commit into from
Feb 27, 2015

Conversation

TobiasBales
Copy link
Contributor

No description provided.

@@ -49,7 +49,7 @@ class AttributeFilter < FacetFilter
def selected
entity = definition.origin_class
column = entity.columns_hash[definition.attribute.to_s]
values.map{|v| column.type_cast(v)}
values.map{|v| entity.connection.type_cast(v, column)}

Choose a reason for hiding this comment

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

Space missing to the left of {.
Space between { and | missing.
Space missing inside }.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.48%) to 90.89% when pulling dd12624 on fix_type_cast_for_rails_4_2_0 into 6d327f3 on master.

axelerator added a commit that referenced this pull request Feb 27, 2015
Fix usage of type_cast in preparation of rails 4.2.0 upgrade
@axelerator axelerator merged commit cac1e1a into master Feb 27, 2015
@axelerator axelerator deleted the fix_type_cast_for_rails_4_2_0 branch February 27, 2015 14:18
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.

4 participants