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

Fixed bug when attribute is named 'to'. Fixed checking editable? #1622

Merged

Conversation

miry
Copy link
Contributor

@miry miry commented Apr 26, 2013

When model has field to factory Enum was always because it checks on method name to_enum and this method is defined in Object.

Also fixed bug for rails 4 when try to edit record or create a new one, it invokes a mass assignment method active_authorizer and this method were removed from the rails 4.

@coveralls
Copy link

Coverage Status

Coverage decreased (-18.13%) when pulling 91cc15c on jetthoughts:remove_mass_assignment into 37dacd4 on sferik:rails-4.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) when pulling e726972 on jetthoughts:remove_mass_assignment into 37dacd4 on sferik:rails-4.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) when pulling e726972 on jetthoughts:remove_mass_assignment into 37dacd4 on sferik:rails-4.

bbenezech added a commit that referenced this pull request May 1, 2013
Fixed bug when attribute is named 'to'. Fixed checking `editable?`
@bbenezech bbenezech merged commit 00bf648 into railsadminteam:rails-4 May 1, 2013
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.

3 participants