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 issue with symbolic object names using SimpleForm #22

Merged
merged 1 commit into from
Nov 18, 2015

Conversation

jfeaver
Copy link
Contributor

@jfeaver jfeaver commented Nov 12, 2015

I was using an asset uploader on an Admin form using simple_form (simple_form_for [:admin, user]) and getting this error where no error exists for the same input on a non-admin form:

ActionView::Template::Error (undefined method '+' for :user:Symbol)

effective_assets (1.4.9) app/views/asset_box_input/_attachment_as_thumbnail.html.haml:19:in `___sers_nathan__rvm_gems_ruby________lam_allery_gems_effective_assets_______app_views_asset_box_input__attachment_as_thumbnail_html_haml__308308914485762670_70167524492620'
actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'

@matt-riemer
Copy link
Member

Great fix, thanks!!

matt-riemer added a commit that referenced this pull request Nov 18, 2015
…rror

fix issue with symbolic object names using SimpleForm
@matt-riemer matt-riemer merged commit 501f39f into master Nov 18, 2015
@matt-riemer matt-riemer deleted the fix/symbol-object-names-error branch November 18, 2015 18:24
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

2 participants